Artifacts Associated With Ticket 1081779fffffffffffffffffffffffffffffffff
Ticket change [d011c70d6d] (rid 113100) by msofer on 2004-12-09 01:00:24:
- assignee initialized to: "hobbs"
- cmimetype initialized to: "text/plain"
- comment initialized to:
When resolvers are defined, the function TclInitCompiledLocals marks every variable that has been found by them with VAR_RESOLVED. This flag avoids a new lookup until one of the relevant the resolver epochs changes. Variables that the resolvers did *not* find (ie, locals) remain unmarked. This means that the resolvers will look them up (and fail) at every proc invocation. If the resolvers do expensive lookups, this may slow down every proc call considerably. The attached patch marks every variable with VAR_RESOLVED, wether it was found or not - i.e., VAR_RESOLVED now means VAR_PROCESSED_BY_RESOLVERS. The patch should be tested with Itcl and Xotcl (the known resolver users) to insure that my analysis is coherent with their usage.
- foundin initialized to: "None"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "msofer"
- subsystem initialized to: "07. Variables"
- title initialized to: "improve proc call when using resolvers"
- type initialized to: "Patch"
Add attachment "patch" [8ce8fc96fd] (rid 127816) by msofer on 2004-12-09 08:00:27.
Ticket change [170e95e65d] (rid 124815) by msofer on 2004-12-09 08:00:32:
- icomment:
File Added - 111773: patch
- login: "msofer"
- mimetype: "text/plain"
- username: "msofer"
- icomment:
Ticket change [5d5c5934d3] (rid 115447) by msofer on 2004-12-10 05:58:23:
- icomment:
Logged In: YES user_id=148712 New patch attached, with improved logic for TclInitCompiledLocals. This should speed up all Proc invocations, irespective of the presence of resolvers. Gustaf reports that the old patch is fine with xotcl, the new one should be fine too.
- login: "msofer"
- mimetype: "text/plain"
- username: "msofer"
- icomment:
Ticket change [1ca451bdd3] (rid 90641) by msofer on 2004-12-10 05:58:24:
- icomment:
File Added - 111914: initlocals
- login: "msofer"
- mimetype: "text/plain"
- username: "msofer"
- icomment:
Ticket change [856c643af6] (rid 131311) by msofer on 2004-12-10 05:59:26:
- title changed to: "speed up proc calls, improve resolver logic"
Ticket change [e0ced5ff9f] (rid 87344) by msofer on 2004-12-10 20:11:29:
- assignee changed to: "msofer"
- closedate changed to: "2004-12-10T13:11:29"
- closer changed to: "msofer"
- icomment:
File Deleted - 111914: File Added - 111978: initlocals Logged In: YES user_id=148712 Improved patch attached, committed to HEAD: optimised loops that initialise a proc's arguments and compiled local variables, removing tests from inner loops. Provides up to 10% speedup in some tclbench tests.
- login: "msofer"
- mimetype: "text/plain"
- resolution changed to: "Accepted"
- status changed to: "Closed"
- username: "msofer"
Add attachment "initlocals" [a221235eb4] (rid 109839) by msofer on 2004-12-10 20:11:29.