Artifacts Associated With Ticket 456668ffffffffffffffffffffffffffffffffff
Ticket change [093349cb7e] (rid 89678) by msofer on 2001-08-29 21:48:03:
- assignee initialized to: "msofer"
- cmimetype initialized to: "text/plain"
- comment initialized to:
The enclosed patch allows cached fully qualified command names to be usable from different namespaces within the same interpreter. This costs next to nothing for normal scripts, and may be valuable for OO apps that pass around command names in variables ("this"). - foundin initialized to: "None"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "msofer"
- subsystem initialized to: "47. Bytecode Compiler"
- title initialized to: "caching fully qualified cmd names"
- type initialized to: "Patch"
Ticket change [5edbbbe497] (rid 115705) by msofer on 2001-08-30 04:48:04:
- icomment:
File Added - 10148: cmdName.patch
- login: "msofer"
- mimetype: "text/plain"
- username: "msofer"
- icomment:
Ticket change [22571ac3eb] (rid 130732) by hobbs on 2001-08-30 06:50:04:
- icomment:
Logged In: YES user_id=72656 can you elaborate a bit more on a use case? Perhaps something that could be added to tclbench.
- login: "hobbs"
- mimetype: "text/plain"
- username: "hobbs"
- icomment:
Ticket change [0aae36c19e] (rid 113866) by msofer on 2001-08-30 07:41:11:
- assignee changed to: "hobbs"
- icomment:
Logged In: YES user_id=148712 The speedup can be noticeable; witness [mig@mini unix]$ cat /tmp/testfile proc a {} {return 1} namespace eval n1 { proc b {scr} {$scr} } proc c {scr} { n1::b $scr $scr } proc d {} { append res [time {c a} 10000]\n append res [time {c ::a} 10000] } puts [info patch] puts [d] [mig@mini unix]$ ./tclsh /tmp/testfile 8.4a4 12 microseconds per iteration 8 microseconds per iteration [mig@mini unix]$ /CVS/tcl_SF_clean/unix/tclsh /tmp/testfile 8.4a4 13 microseconds per iteration 12 microseconds per iteration [mig@mini unix]$ tclsh /tmp/testfile 8.3.3 15 microseconds per iteration 15 microseconds per iteration Jeff: does this patch look OK to you? - login: "msofer"
- mimetype: "text/plain"
- username: "msofer"
Ticket change [6f8c2532f6] (rid 100333) by hobbs on 2001-08-30 08:08:10:
- assignee changed to: "msofer"
Ticket change [670608b157] (rid 102828) by hobbs on 2001-08-30 08:08:11:
- icomment:
Logged In: YES user_id=72656 The patch passes all tests, and there is a notable improvement, so I say go ahead and commit it. Please change it first to not use the { } frame instantiation trick in C to create new vars. - login: "hobbs"
- mimetype: "text/plain"
- username: "hobbs"
- icomment:
Add attachment "cmdName.patch" [2b3e4c0c50] (rid 118709) by msofer on 2001-08-30 19:11:02.
Ticket change [6cc8fcb552] (rid 128577) by msofer on 2001-08-30 19:11:02:
- icomment:
File Deleted - 10148: File Added - 10175: cmdName.patch Logged In: YES user_id=148712 Patch adapted and committed.
- login: "msofer"
- mimetype: "text/plain"
- username: "msofer"
- icomment:
Ticket change [34f4525408] (rid 106829) by msofer on 2001-08-30 19:11:34:
- closedate changed to: "2001-08-30T12:11:34"
- closer changed to: "msofer"
- resolution changed to: "Accepted"
- status changed to: "Closed"
Ticket change [423f9cbafd] (rid 116337) by msofer on 2001-09-06 03:18:36:
- closedate changed to: "2001-09-05T20:18:36"
- closer changed to: "msofer"
- icomment:
Logged In: YES user_id=148712 See also the companion patch #458872 that does the same caching for namespace names.
- login: "msofer"
- mimetype: "text/plain"
- username: "msofer"