Skip to content
Tcl Source Code View Ticket
Login

View Ticket

improve trivial imports and exports

Closed / Accepted1076088fffffffffffffffffffffffffffffffffCreated 22 years agoUpdated 22 years ago
Descriptionplain2004-11-30 15:45:28
Make use of the new internal
routine TclMatchIsTrivial()
to optimize those [namespace import]
and [namespace export] operations
that can benefit from it.
dkf Ticket [1076088fff]: 1 change [History diff]2004-11-30 23:22:22
dgpplain2005-03-17 00:28:47
Logged In: YES 
user_id=80530


Could also be helpful in
other $pattern accepting
commands like [array unset]
dgpplain2005-03-29 05:40:31
File Added - 127516: triv.patch

Logged In: YES 
user_id=80530


Here's a patch that adds several
calls to TclMatchIsTrivial where
it can replace looping over whole
tables to search directly for trivial
matches,
dgpplain2005-04-29 00:10:38
Logged In: YES 
user_id=80530

opinion on the patch?
dgpplain2005-05-06 01:32:12
Logged In: YES 
user_id=80530


Revised patch makes
TclMatchIsTrivial a private macro.
dgpplain2005-05-06 01:32:14
File Added - 133162: 1076088.patch
dgpplain2005-05-06 01:38:08
Logged In: YES 
user_id=80530

Patch applied to HEAD.
Log in (anonymous is fine) to add a comment.

Attachments: