Skip to content

Commit aa35e6a

Browse files
committed
refactor: Include table sizes in comment at top of unicode_data.rs
To make changes in table size obvious from git diffs
1 parent ecfc84d commit aa35e6a

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

core/src/unicode/unicode_data.rs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,14 @@
11
///! This file is generated by `./x run src/tools/unicode-table-generator`; do not edit manually!
2+
// Alphabetic : 1727 bytes, 142759 codepoints in 757 ranges (U+000041 - U+0323B0) using skiplist
3+
// Case_Ignorable : 1053 bytes, 2749 codepoints in 452 ranges (U+000027 - U+0E01F0) using skiplist
4+
// Cased : 407 bytes, 4578 codepoints in 159 ranges (U+000041 - U+01F18A) using skiplist
5+
// Cc : 9 bytes, 65 codepoints in 2 ranges (U+000000 - U+0000A0) using skiplist
6+
// Grapheme_Extend : 887 bytes, 2193 codepoints in 375 ranges (U+000300 - U+0E01F0) using skiplist
7+
// Lowercase : 935 bytes, 2569 codepoints in 675 ranges (U+000061 - U+01E944) using bitset
8+
// N : 457 bytes, 1911 codepoints in 144 ranges (U+000030 - U+01FBFA) using skiplist
9+
// Uppercase : 799 bytes, 1978 codepoints in 656 ranges (U+000041 - U+01F18A) using bitset
10+
// White_Space : 256 bytes, 25 codepoints in 10 ranges (U+000009 - U+003001) using cascading
11+
// Total : 6530 bytes
212

313
#[inline(always)]
414
const fn bitset_search<

0 commit comments

Comments
 (0)