mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-28 11:11:47 +02:00
Use unicode multi-table for remaining hot path lookups
Results in a 15% improvement in the unicode throughput benchmark
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user