Tcl Source Code

View Ticket
Login
Ticket UUID: 1076088
Title: improve trivial imports and exports
Type: RFE Version: None
Submitter: dgp Created on: 2004-11-30 15:45:28
Subsystem: 21. [namespace] Assigned To: dgp
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2005-05-06 01:38:08
Resolution: Accepted Closed By: dgp
    Closed on: 2005-05-05 18:38:08
Description:
Make use of the new internal
routine TclMatchIsTrivial()
to optimize those [namespace import]
and [namespace export] operations
that can benefit from it.
User Comments: dgp added on 2005-05-06 01:38:08:
Logged In: YES 
user_id=80530

Patch applied to HEAD.

dgp added on 2005-05-06 01:32:14:

File Added - 133162: 1076088.patch

dgp added on 2005-05-06 01:32:12:
Logged In: YES 
user_id=80530


Revised patch makes
TclMatchIsTrivial a private macro.

dgp added on 2005-04-29 00:10:38:
Logged In: YES 
user_id=80530

opinion on the patch?

dgp added on 2005-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,

dgp added on 2005-03-17 00:28:47:
Logged In: YES 
user_id=80530


Could also be helpful in
other $pattern accepting
commands like [array unset]

Attachments: