Try storing the Trie keys as integers (code points) instead of strings
bramstein opened this issue · comments
Storing code points might be faster and definitively more memory efficient.
Done per SHA: 854582d
Speed doubled, now four times as fast as Hyphenator.js.