bramstein / hypher

A fast and small JavaScript hyphenation engine

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.