Thread: [Objectscript-devel] [OBJECTSCRIPT] Issue #OBJS124 modified
Brought to you by:
rob_d_clark
From: Rob C. <rob...@ma...> - 2003-05-13 07:25:20
|
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: Added 'blocking' child dependency on issue OBJS124 Added 'blocking' parent dependency on issue OBJS106 |
From: Rob C. <rob...@ma...> - 2003-05-13 07:37:23
|
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: if each symbol has a unique-id, then we can use and int<->int hashtable to map member symbol to slot. Or, another interesting possibility is for the compiler to generate (perhaps as inner classes) classes implementing a MemberTable (?) interface (see OBJS116), which could use switch statements instead of actual tables... need to investigate the performance of this vs. hashtables, and verify that the overhead of the extra classes created isn't too bad. Also, with switch statements, you don't need to create members in the hashtable, so the compiled code can createMemberBySlot() and getMemberBySlot(), without touching the table at all (because the compiled code already knows the contents of the table... which is just there for the benefit of resolving variables which can't be statically resolved. |
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 |
From: Rob C. <rob...@ma...> - 2003-05-13 08:23:03
|
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: note, see OBJS39 |
From: Rob C. <rob...@ma...> - 2003-05-17 17:28:21
|
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: Status changed from 'New' to 'Assigned' Comment: move to 'assigned' state |
From: Rob C. <rob...@ma...> - 2003-05-17 18:44:44
|
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: Added 'blocking' child dependency on issue OBJS124 Added 'blocking' parent dependency on issue OBJS116 |
From: Rob C. <rob...@ma...> - 2003-05-18 22:03:33
|
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: Status changed from 'Assigned' to 'Resolved' Comment: move to 'resolved' state |
From: Rob C. <rob...@ma...> - 2003-05-18 23:34:06
|
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: Added 'blocking' child dependency on issue OBJS124 Added 'blocking' parent dependency on issue OBJS129 |
From: Rob C. <rob...@ma...> - 2003-05-22 01:38:04
|
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: Status changed from 'Resolved' to 'Closed' Comment: oscript-1.2 |