rgbds icon indicating copy to clipboard operation
rgbds copied to clipboard

Traverse the charmap trie to reconstruct mappings instead of saving them

Open Rangi42 opened this issue 1 year ago • 5 comments

There's a fundamental issue with this approach that makes me not want to use it: it loses the order in which charmaps were defined, instead outputting them in the ASCII/UTF-8 byte order. (Even the mapped-value order would be more meaningful than that.)

Besides that, I still need to measure the performance benefit of not caching the mappings at definition time. I suspect that it was low; and the performance hit when actually making the dump file (admittedly a rare action) is visible.

Rangi42 avatar Aug 22 '24 17:08 Rangi42