Werner LEMBERG <[email protected]> writes: > BTW, profiling shows indeed that calling `get_flags' uses far too much > time.
Maybe the look-up algorithm of `get_flags' (without caching) could also be optimized. IIUC currently it does not sort/merge the ranges and check all of them linearly. BTW, Emacs' char-table seems to use radix-based nested tables for that purpose - not sure if it is too much here. Regards, -- Daiki Ueno
