Commit 7e30145
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 @nikic1 parent 7baae18 commit 7e30145
1 file changed
+779
-1045
lines changed
0 commit comments