Skip to content
Tcl Source Code View Ticket
Login

View Ticket

patch to speed up Tcl_SplitList

Closed / Accepted1344747fffffffffffffffffffffffffffffffffCreated 21 years agoUpdated 20 years ago
Descriptionplain2005-11-01 11:01:04
Minor Tcl_SplitList speed up:

1) the strlen(list) is redundant as it is == l - list
2) the ++size may as well be included in its initial value
3) the size estimate can be reduced by only 
incrementing size once for consecutive whitespace.
nobodyplain2005-11-01 18:01:09
File Added - 154648: Tcl_SplitList.patch
dgpplain2006-06-21 19:53:33
Logged In: YES 
user_id=80530


Here's a corrected patch that
applies successfully to both
active branches.
dgpplain2006-06-21 19:53:34
File Added - 182433: 1344747.patch
msofer Closed ticket [1344747fff]. [History diff]2006-10-01 02:16:45
Log in (anonymous is fine) to add a comment.

Attachments: