Comment Comment by 0pteron just FYI there are better techniques for finding "minimal perfect hash functions". This is an easy one to implement: https://cmph.sourceforge.net/chd.html parent 0pteron 2 years ago