.
D 2012-01-14T09:28:50
J assignee nijtmans
J cmimetype text/plain
J comment Some\sideas\sfor\simprovements,\snoted\swhile\sworking\non\sUTF-6.1\ssupport.\s\n-\sThe\smacro\sGetUniCharInfo()\sgets\sa\sbyte\sfrom\sthe\n\s\spageMap\sand\simmediately\sshifts\sthe\svalue\n\s\sOFFSET_BITS\sto\sthe\sleft.\sWe\scould\sas\swell\sput\sthe\n\s\sshifted\svalue\sin\sgroupMap,\sthat\ssaves\sa\sbit\sshift\n\s\sfor\seach\scharacter\shandled.\n-\sThe\smacro\sGetDelta()\sis\scomplicated\sbecause\sit\n\s\scompensates\sfor\scompiler\sdifferences\sin\shandling\n\s\ssign\sextension.\sIf\swe\schange\sthe\sgroup[]\sarray\n\s\sto\suse\sBits\s8-31\sfor\sthe\scase\sdelta,\sthen\swe\shave\n\s\senough\sbits\sfor\sall\spossible\sUnicode\scharacters,\n\s\sso\ssign\sextension\scan\sbe\scompensated\swith\n\s\susing\sa\smask\s0x1fffff,\sor\s(when\shandling\sonly\n\s\sthe\sbasic\splane)\scasting\sto\sTcl_UniChar\n-\sThe\stool\suniParse.tcl\smakes\sassumptions\n\s\sabout\sthe\scontent\sof\sUnicodeData.txt,\sbut\n\s\sdoesn't\scheck\sthose\sassumptions.\sIt\smight\n\s\sbe\sthat\sfuture\sUnicode\sversions\sneed\smore\n\s\scategories\sor\scase\stypes,\sthen\sthe\stool\n\s\sshould\swarn\sus\sabout\sthat.\n\nIn\sorder\sto\smake\sUnicode-related\stable\nmerges\sbetween\sthe\score\sbranches\npossible,\sthis\sis\smeant\sfor\sall\sopen\score\nbranches.
J foundin None
J is_private 0
J priority 5\sMedium
J resolution None
J status Open
J submitter nijtmans
J subsystem 44.\sUTF-8\sStrings
J title Various\sUnicode-related\sspeedups/robustness
J type RFE
K 3473670fffffffffffffffffffffffffffffffff
U nijtmans
Z 96040ff25dde157370347b029f010097