Skip to content
Tcl Source Code View Ticket
Login

View Ticket

encoding file map initialization harms startup performance

Closed / Fixed1177363fffffffffffffffffffffffffffffffffCreated 22 years agoUpdated 22 years ago
Descriptionplain2005-04-05 20:57:37
The MakeFileMap routine
in tclEncoding.c  is expensive;
effectively doing a "glob" on
all paths in the encoding search
path.  Currently this is called
during startup (Tcl_FindExecutable, etc.)
making Tcl 8.5 startup slower than 8.4.
dgpplain2005-04-13 03:23:07
File Added - 129593: 1177363.patch

Logged In: YES 
user_id=80530


Attached patch addresses the
expensive "glob" believed to
contribute to slow startup times.
dgpplain2005-04-13 03:29:33
Logged In: YES 
user_id=80530

committed.
Log in (anonymous is fine) to add a comment.

Attachments: