logoalt Hacker News

finghintoday at 12:40 PM1 replyview on HN

In practice isn’t a large HashMap best for lookup, based on compile-time or static constants describing the character-space?


Replies

spuztoday at 12:49 PM

In the appendix, he talks about reducing the lookup space by quantising the sampled points to just 8 possible values. That allowed him to make a look up table about 2MB in size which were apparently incredibly fast.

show 1 reply