summaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2009-07-20 09:13:44 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2009-07-20 09:13:44 (GMT)
commit6662c3248a0690dd85923e868c6d4d2d0d91cf22 (patch)
treea477c541f6ecfa17894fb265ee1123edb4a3119f /ChangeLog
parentd63bf48fae3c37de04f6f82c8bde59587e1ed2aa (diff)
downloadtcl-6662c3248a0690dd85923e868c6d4d2d0d91cf22.zip
tcl-6662c3248a0690dd85923e868c6d4d2d0d91cf22.tar.gz
tcl-6662c3248a0690dd85923e868c6d4d2d0d91cf22.tar.bz2
Performance boost for [string is].
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog8
1 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 9023354..31820e9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2009-07-20 Donal K. Fellows <dkf@users.sf.net>
+
+ * generic/tclCmdMZ.c (StringIsCmd): Reorganize so that [string is] is
+ more efficient when parsing things that are correct, at a cost of
+ making the empty string test slightly more costly. With this, the cost
+ of doing [string is integer -strict $x] matches [catch {expr {$x+0}}]
+ in the successful case, and greatly outstrips it in the failing case.
+
2009-07-19 Donal K. Fellows <dkf@users.sf.net>
* generic/tclOO.decls, generic/tclOO.c (Tcl_GetObjectName): Expose a