diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-03-20 20:29:25 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-03-20 20:29:25 (GMT) |
commit | 8af92a8a6b470126d931eff19d97f7630f618006 (patch) | |
tree | ba0c6e7a1024d982938235931b0d1067bd1d9197 /generic/tclScan.c | |
parent | c820318356373338e81456fc7f995e2e19c0218c (diff) | |
parent | ab2ee17c917d4c1ac391bc15fe68a87e672f2f73 (diff) | |
download | tcl-8af92a8a6b470126d931eff19d97f7630f618006.zip tcl-8af92a8a6b470126d931eff19d97f7630f618006.tar.gz tcl-8af92a8a6b470126d931eff19d97f7630f618006.tar.bz2 |
Fix [6811a00819]: lsearch performance degradation on Tcl 8.6.11 release (thanks, Sergey!)
Diffstat (limited to 'generic/tclScan.c')
-rw-r--r-- | generic/tclScan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclScan.c b/generic/tclScan.c index 195153b..71af1f2 100644 --- a/generic/tclScan.c +++ b/generic/tclScan.c @@ -902,7 +902,7 @@ Tcl_ScanObjCmd( * Scan a single Unicode character. */ - offset = Tcl_UtfToUniChar(string, &i); + offset = TclUtfToUniChar(string, &i); string += offset; if (!(flags & SCAN_SUPPRESS)) { TclNewIntObj(objPtr, i); |