Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2005-04-13
03:29 • Closed ticket [1177363fff]: encoding file map initialization harms startup perfo... artifact: ee5f3a42d8 user: dgp
03:23 • Add attachment 1177363.patch to ticket [1177363fff] artifact: bc38338b24 user: dgp
03:23 • Ticket [1177363fff] encoding file map initialization harms startup performance</... artifact: 2456531c51 user: dgp
2005-04-05
20:57 • New ticket [1177363fff]. artifact: ab23bcdb1d user: dgp

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: