Sense calculation scratch-pad globals. Many of the sense calculations involve recursive descents of portions of the containment tree. In the course of these calculations, it's sometimes useful to have information about the entire operation in one of the recursive calls. We could pass the information around as extra parameters, but that adds overhead, and performance is critical in the sense routines (because they tend to get invoked a *lot*). To reduce the overhead, particularly for information that's not needed very often, we stuff some information into this global object rather than passing it around through parameters.

Note that this object is transient because this information is useful only during the course of a single tree traversal, and so doesn't need to be saved or undone.

transient senseTmp :   object

Superclass Tree   (in declaration order)


Summary of Properties  

notifyList  pointOfView 

Summary of Methods  




post-calculation notification list

The point of view of the sense calculation. This is the starting point of a sense traversal; it's the object that's viewing the other objects.



TADS 3 Library Manual
Generated on 5/16/2013 from TADS version 3.1.3