On Monday, 14 March 2022 at 22:20:42 UTC, rikki cattermole wrote:
The recommended solution by Unicode is to use Trie tables for Look Up Tables (LUTs).https://en.wikipedia.org/wiki/TrieYou can generate these as read only global arrays and are very fast for this.
Thank your for this hint. I'll have to check whether this is applicable for this context. For example this lookup table appears to be a bijection.