Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2011-04-12
09:34 • Closed ticket [1793601fff]: OPT varReform: slow lookup by name plus 7 other ... artifact: 961669a8c4 user: msofer
2007-10-27
07:26 • Ticket [1793601fff]: 6 changes artifact: b495d47289 user: msofer
2007-09-13
08:38 • Ticket [1793601fff]: 4 changes artifact: b31c12c9fa user: msofer
00:40 • New ticket [1793601fff]. artifact: c62a16f2f1 user: msofer

OPT varReform: slow lookup by name

Closed / Out of Date1793601fffffffffffffffffffffffffffffffffCreated 19 years agoUpdated 16 years ago
Descriptionplain2007-09-13 00:40:10
Tcl_FindNamespaceVar has not been adapted to varReform, it does a few costly obj->string->obj roundtrips.

What is needed is to define a new objType for variable names that separates the namespace and tail parts.
msoferplain2007-09-13 08:38:16
Logged In: YES 
user_id=148712
Originator: YES

See http://paste.tclers.tk/392 and http://www.patthoyts.tk/benchmarks.html
msoferplain2007-10-27 07:26:55
Logged In: YES 
user_id=148712
Originator: YES

HEAD now is more careful about preserving Tcl_Objs; varName caching can still use improving.
msoferplain2011-04-12 09:34:44
allow_comments - 1
Log in (anonymous is fine) to add a comment.