Artifacts Associated With Ticket 3473670fffffffffffffffffffffffffffffffff
Ticket change [bd1cbf3367] (rid 101857) by nijtmans on 2012-01-14 09:28:50:
- assignee initialized to: "nijtmans"
- cmimetype initialized to: "text/plain"
- comment initialized to:
Some ideas for improvements, noted while working on UTF-6.1 support. - The macro GetUniCharInfo() gets a byte from the pageMap and immediately shifts the value OFFSET_BITS to the left. We could as well put the shifted value in groupMap, that saves a bit shift for each character handled. - The macro GetDelta() is complicated because it compensates for compiler differences in handling sign extension. If we change the group[] array to use Bits 8-31 for the case delta, then we have enough bits for all possible Unicode characters, so sign extension can be compensated with using a mask 0x1fffff, or (when handling only the basic plane) casting to Tcl_UniChar - The tool uniParse.tcl makes assumptions about the content of UnicodeData.txt, but doesn't check those assumptions. It might be that future Unicode versions need more categories or case types, then the tool should warn us about that. In order to make Unicode-related table merges between the core branches possible, this is meant for all open core branches.
- foundin initialized to: "None"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nijtmans"
- subsystem initialized to: "44. UTF-8 Strings"
- title initialized to: "Various Unicode-related speedups/robustness"
- type initialized to: "RFE"
Ticket change [1c28563ef2] (rid 90555) by nijtmans on 2012-01-14 16:31:28:
- icomment:
implemented in branch rfe-3473670
- login: "nijtmans"
- mimetype: "text/plain"
- username: "nijtmans"
- icomment:
Ticket change [b84711b183] (rid 128943) by nijtmans on 2012-01-14 16:47:34:
- icomment:
Needless to say: all tests pass with this change
- login: "nijtmans"
- mimetype: "text/plain"
- username: "nijtmans"
- icomment:
Ticket change [838ca1d99a] (rid 117399) by hobbs on 2012-01-15 01:30:06:
- icomment:
Did you test on both BE and LE machines?
- login: "hobbs"
- mimetype: "text/plain"
- username: "hobbs"
- icomment:
Ticket change [3da8de2d5d] (rid 121125) by nijtmans on 2012-01-15 21:54:57:
- icomment:
>Did you test on both BE and LE machines? Goed question! No, I only tested on Windows and Ubuntu. However, the affectes macros and tables are only used in Unicode categories (like "string is control") or unicode case handling (like "string tolower"), it is not used in the Unicode encoding or anything which might be endian-dependant. So I am 100% confident that it will work on both LE and BE platforms. The affected functions in tclUtf.c all use Tcl_UniChar or int as internal data types, never (unsigned) char.
- login: "nijtmans"
- mimetype: "text/plain"
- username: "nijtmans"
- icomment:
Ticket change [3bdb699a0c] (rid 112820) by nijtmans on 2012-01-23 04:39:16:
- icomment:
Updated the tools such that characters > 0xffff are handled as well, with #if's around it such that in the Basic Plane case everything is as before. This - again - allows for the same Unicode tables to be used in all branches, which simplifies the merging along branches when a new unicode version comes out.
- login: "nijtmans"
- mimetype: "text/plain"
- username: "nijtmans"
- icomment:
Ticket change [5a728d882d] (rid 118143) by nijtmans on 2012-01-23 05:02:16:
- closedate changed to: "2012-01-22T22:02:16"
- closer changed to: "nijtmans"
- icomment:
Applied to core-8-4-branch, core-8-5-branch and trunk.
- login: "nijtmans"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "nijtmans"