]> git.lizzy.rs Git - rust.git/commit
Remove separate encoding for a single nonzero-mapping byte
authorMark Rousskov <mark.simulacrum@gmail.com>
Fri, 27 Mar 2020 22:01:14 +0000 (18:01 -0400)
committerMark Rousskov <mark.simulacrum@gmail.com>
Fri, 27 Mar 2020 23:02:23 +0000 (19:02 -0400)
commitb6bc9060041bb5de18d9b31fe935d29193d9bad5
treeeb7c0ffd0d7d08846276afc5c4c65d1c4c671df0
parent9c1ceece20e14e2a746c382b639f9288746e493c
Remove separate encoding for a single nonzero-mapping byte

In practice, for the two data sets that still use the bitset encoding (uppercase
and lowercase) this is not a significant win, so just drop it entirely. It costs
us about 5 bytes, and the complexity is nontrivial.
src/libcore/unicode/unicode_data.rs
src/tools/unicode-table-generator/src/range_search.rs
src/tools/unicode-table-generator/src/raw_emitter.rs