diff options
author | Miguel Sofer <miguel.sofer@gmail.com> | 2007-12-22 21:50:50 (GMT) |
---|---|---|
committer | Miguel Sofer <miguel.sofer@gmail.com> | 2007-12-22 21:50:50 (GMT) |
commit | 1878a74ad0e7c4be1d9f7a27850905e57054e03d (patch) | |
tree | 7ac9870da11765e408d29fba7a6c635ab2849212 /ChangeLog | |
parent | 2ca3e4c31fb0c6eb8106bc1345e80ec93056562d (diff) | |
download | tcl-1878a74ad0e7c4be1d9f7a27850905e57054e03d.zip tcl-1878a74ad0e7c4be1d9f7a27850905e57054e03d.tar.gz tcl-1878a74ad0e7c4be1d9f7a27850905e57054e03d.tar.bz2 |
* generic/tclCmdIL.c (Tcl_LsortObjCmd, Tcl_LsearchObjCmd): avoid
calling SelectObjFromSublist when there are no sublists.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1,5 +1,10 @@ 2007-12-21 Miguel Sofer <msofer@users.sf.net> + * generic/tclCmdIL.c (Tcl_LsortObjCmd, Tcl_LsearchObjCmd): avoid + calling SelectObjFromSublist when there are no sublists. + +2007-12-21 Miguel Sofer <msofer@users.sf.net> + * generic/tclCmdIL.c (Tcl_LsortObjCmd): preallocate a listObj of sufficient length for the sorted list instead of growing it. Second commit replaces calls to Tcl_ListObjAppenElement with |