diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2022-06-13 11:11:56 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2022-06-15 17:25:00 +0000 |
| commit | fbcb30bf9870aa2b4d75376b3a02703576a715e4 (patch) | |
| tree | 57f387a25e3b48ccc431b1aacdc38476c31ac74b /foot-server@.socket | |
| parent | vt: 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 'foot-server@.socket')
0 files changed, 0 insertions, 0 deletions
