Skip to content

Commit 355e1dd

Browse files
committed
Improve case mapping encoding scheme
The indices are encoded as `u32`s in the range of invalid `char`s, so that we know that if any mapping fails to parse as a `char` we should use the value for lookup in the multi-table. This avoids the second binary search in cases where a multi-`char` mapping is needed. Idea from @nikic
1 parent f9bd884 commit 355e1dd

File tree

2 files changed

+833
-1094
lines changed

2 files changed

+833
-1094
lines changed

0 commit comments

Comments
 (0)