aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2022-06-13 11:11:56 +0000
committerDaniel Eklöf <daniel@ekloef.se>2022-06-15 17:25:00 +0000
commitfbcb30bf9870aa2b4d75376b3a02703576a715e4 (patch)
tree57f387a25e3b48ccc431b1aacdc38476c31ac74b /scripts
parentvt: prevent potential endless loop when finding a slot for a composed character (diff)
vt: improve key calculation for compose sequences
* Don’t assume 32 bits when rotating the old key. Use the number of actual bits available, as determined by CELL_COMB_CHARS_{HI,LO} * Multiply with magic hash constant This greatly reduces the number of collisions seen. For example, the Emoji test file (from the Unicode specification), now has zero collisions.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions