[Objectscript-devel] [OBJECTSCRIPT] Issue #OBJS124 modified
Brought to you by:
rob_d_clark
From: Rob C. <rob...@ma...> - 2003-05-13 08:19:51
|
Issue OBJS124 (performance: Symbol type) has just been modified by user rob...@ma... You can view the issue detail at the following URL: <http://icandy.homeunix.org:443/scarab/issues/id/OBJS124> The following modifications were made to this issue: ... but another alternative to createMemberBySlot(), and getMemberBySlot() is more agressive caching... when referencing a member of a scope that contains the NodeEvaluator, we can take advantage of the face that Scope uses a table of Reference which never changes, we can cache looked up values (and perhaps hoisted values?) as instance variables, rather than local variables. I should probably split Scope out of CompilerVisitor, to reduce the size of the main part of the compiler, and also so there can be several implementations of Scope which generate the different sort of code to cache in either the NodeEvaluator instance itself, or as local variables |