Hacker News new | ask | show | jobs
by dullgiulio 3224 days ago
If your set is known at compile time, make a Perfect Hash Table with gperf instead. It's commonly used in compilers and other software with a parsing or interpreting stage.