Use unicode multi-table for remaining hot path lookups

Results in a 15% improvement in the unicode throughput benchmark
This commit is contained in:
Kovid Goyal
2025-03-24 15:04:33 +05:30
parent 2c0bc79be1
commit 9f7643078c
10 changed files with 69465 additions and 69013 deletions

View File

@@ -18,7 +18,9 @@ typedef union CharProps {
uint8_t shifted_width : 3;
uint8_t is_non_rendered : 1;
uint8_t is_emoji_presentation_base : 1;
uint8_t : 3;
uint8_t is_emoji : 1;
uint8_t is_symbol : 1;
uint8_t is_combining_char : 1;
};
uint16_t val;
} CharProps;