What constitutes an 'evaluated node'?

Hi, I'm hoping that some followup to Stefan's question will be posted here. I have a similar question to answer with my Javascript code generator. In Javascript, it is very easy to update the "original" node after evaluation because references to an object referencing such node are passed around, and updating of some property value via such reference automatically updates the original node itself. If it is more appropriate to limit update propagation, special measures need to be taken (such as cloning a node object instead of passing a reference), and it is better to be learned now. -- Dimitry Golubovsky Anywhere on the Web

Dimitry Golubovsky wrote:
If it is more appropriate to limit update propagation, special measures need to be taken (such as cloning a node object instead of passing a reference), and it is better to be learned now.
Cloning nodes is definitely not appropriate as it tends to cause space leaks. Tom
participants (2)
-
Dimitry Golubovsky
-
Thomas Shackell