Skip to content
Tcl Source Code Check-in [49fb3b2f1a]
Login

Check-in [49fb3b2f1a]

Overview
Comment:Tighten optimization in Tcl_UtfToUniCharDString(), just as in Tcl_NumUtfChars(). Don't use "-1" in the Tcl_NumUtfChars() calculation, since that raises more questions than it solves, but that's easy to be remedied as well: Juse use >= in stead of > in the comparation. Great idea, Don! Backport more code formatting from Tcl 8.6 (e.g. use of CONST, which makes no sense any more in c-files)
Timelines: family | ancestors | descendants | both | core-8-5-branch
Files: files | file ages | folders
SHA3-256: 49fb3b2f1a30a9a5d04ee187e0ff2373488f7c469610ad4ba4158731a0d36d52
User & Date: jan.nijtmans on 2020-05-07 09:31:32.227
Other Links: branch diff | manifest | tags
Context
2020-05-07
19:12
[b2816a3afe] Fix counting of malformed sequences at end of string. check-in: 683444cef2 user: dgp tags: core-8-5-branch
18:56
Test demonstrating bug in ticket [b2816a3afe]. check-in: 1c633ff6d0 user: dgp tags: bug-b2816a3afe
10:09
Optimize Tcl_UtfToUniCharDString() check-in: 806e1e868c user: jan.nijtmans tags: core-8-6-branch
09:31
Tighten optimization in Tcl_UtfToUniCharDString(), just as in Tcl_NumUtfChars(). Don't use "-1" in t... check-in: 49fb3b2f1a user: jan.nijtmans tags: core-8-5-branch
2020-05-06
21:08
Tighten optimization in Tcl_NumUtfChars. Explain in comments. check-in: dabb52db36 user: dgp tags: core-8-5-branch
Changes