summaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2002-05-29 10:35:34 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2002-05-29 10:35:34 (GMT)
commit52319201a0f33f5984298267ba05ede5689eb818 (patch)
tree69690c28d7ea044538f1557ec58740707718d328 /ChangeLog
parent3a1941e7d007e93449aa22085687a8fafaddad7e (diff)
downloadtcl-52319201a0f33f5984298267ba05ede5689eb818.zip
tcl-52319201a0f33f5984298267ba05ede5689eb818.tar.gz
tcl-52319201a0f33f5984298267ba05ede5689eb818.tar.bz2
Made Tcl_UniCharNcmp faster on big-endian machines; the system memcmp()is
probably optimized far in excess of anything we could do! Little-endian just use the old code...
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog15
1 files changed, 15 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 2dad798..536a396 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,18 @@
+2002-05-29 Donal K. Fellows <fellowsd@cs.man.ac.uk>
+
+ * generic/tclExecute.c (TclExecuteByteCode):
+ * generic/tclCmdMZ.c (Tcl_StringObjCmd): Use the macro version.
+ * generic/tclInt.h (TclUniCharNcmp): Optimised still further with
+ a macro for use in sensitive places like tclExecute.c
+
+ * generic/tclUtf.c (Tcl_UniCharNcmp): Use new flag to figure out
+ when we can use an optimal comparison scheme, and default to the
+ old scheme in other cases which is at least safe.
+ * unix/configure.in (TCL_OPTIMIZE_UNICODE_COMPARE): New optional
+ flag that indicates when we can use memcmp() to compare Unicode
+ strings (i.e. when the high-byte of a Tcl_UniChar precedes the
+ low-byte.)
+
2002-05-29 Jeff Hobbs <jeffh@ActiveState.com>
* generic/tclInt.decls: