[CMPH](https://github.com/LibCodeQuick/cmph) is needed to implement perfect hashing. The algorithms in it are mostly geared toward making a hash able to "freeze" and parse more quickly.