Hacker News new | ask | show | jobs
by haxen 854 days ago
Interestingly enough, that was my first idea. But when you consider the tiny keyset size, it would be hard to beat two machine instructions to calculate the hash + a single array lookup.