|
8 | 8 | // N : 457 bytes, 1911 codepoints in 144 ranges (U+000030 - U+01FBFA) using skiplist
|
9 | 9 | // Uppercase : 799 bytes, 1978 codepoints in 656 ranges (U+000041 - U+01F18A) using bitset
|
10 | 10 | // White_Space : 256 bytes, 25 codepoints in 10 ranges (U+000009 - U+003001) using cascading
|
11 |
| -// Total : 6530 bytes |
| 11 | +// to_lower : 11484 bytes |
| 12 | +// to_upper : 13432 bytes |
| 13 | +// Total : 31446 bytes |
12 | 14 |
|
13 | 15 | #[inline(always)]
|
14 | 16 | const fn bitset_search<
|
@@ -782,7 +784,7 @@ pub mod conversions {
|
782 | 784 | }
|
783 | 785 | }
|
784 | 786 |
|
785 |
| - static LOWERCASE_TABLE: &[(char, u32)] = &[ |
| 787 | + static LOWERCASE_TABLE: &[(char, u32); 1434] = &[ |
786 | 788 | ('\u{c0}', 224), ('\u{c1}', 225), ('\u{c2}', 226), ('\u{c3}', 227), ('\u{c4}', 228),
|
787 | 789 | ('\u{c5}', 229), ('\u{c6}', 230), ('\u{c7}', 231), ('\u{c8}', 232), ('\u{c9}', 233),
|
788 | 790 | ('\u{ca}', 234), ('\u{cb}', 235), ('\u{cc}', 236), ('\u{cd}', 237), ('\u{ce}', 238),
|
@@ -1132,11 +1134,11 @@ pub mod conversions {
|
1132 | 1134 | ('\u{1e921}', 125251),
|
1133 | 1135 | ];
|
1134 | 1136 |
|
1135 |
| - static LOWERCASE_TABLE_MULTI: &[[char; 3]] = &[ |
| 1137 | + static LOWERCASE_TABLE_MULTI: &[[char; 3]; 1] = &[ |
1136 | 1138 | ['i', '\u{307}', '\u{0}'],
|
1137 | 1139 | ];
|
1138 | 1140 |
|
1139 |
| - static UPPERCASE_TABLE: &[(char, u32)] = &[ |
| 1141 | + static UPPERCASE_TABLE: &[(char, u32); 1526] = &[ |
1140 | 1142 | ('\u{b5}', 924), ('\u{df}', 4194304), ('\u{e0}', 192), ('\u{e1}', 193), ('\u{e2}', 194),
|
1141 | 1143 | ('\u{e3}', 195), ('\u{e4}', 196), ('\u{e5}', 197), ('\u{e6}', 198), ('\u{e7}', 199),
|
1142 | 1144 | ('\u{e8}', 200), ('\u{e9}', 201), ('\u{ea}', 202), ('\u{eb}', 203), ('\u{ec}', 204),
|
@@ -1509,7 +1511,7 @@ pub mod conversions {
|
1509 | 1511 | ('\u{1e941}', 125215), ('\u{1e942}', 125216), ('\u{1e943}', 125217),
|
1510 | 1512 | ];
|
1511 | 1513 |
|
1512 |
| - static UPPERCASE_TABLE_MULTI: &[[char; 3]] = &[ |
| 1514 | + static UPPERCASE_TABLE_MULTI: &[[char; 3]; 102] = &[ |
1513 | 1515 | ['S', 'S', '\u{0}'], ['\u{2bc}', 'N', '\u{0}'], ['J', '\u{30c}', '\u{0}'],
|
1514 | 1516 | ['\u{399}', '\u{308}', '\u{301}'], ['\u{3a5}', '\u{308}', '\u{301}'],
|
1515 | 1517 | ['\u{535}', '\u{552}', '\u{0}'], ['H', '\u{331}', '\u{0}'], ['T', '\u{308}', '\u{0}'],
|
|
0 commit comments