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

@@ -5,12 +5,9 @@
// Converts row/column diacritics to numbers.
int diacritic_to_num(char_type ch);
bool is_combining_char(char_type ch);
bool is_ignored_char(char_type ch);
bool is_word_char(char_type ch);
bool is_CZ_category(char_type);
bool is_P_category(char_type);
bool is_non_rendered_char(char_type);
static inline bool
is_excluded_from_url(uint32_t ch) {