Constants§
- MAX_
L2_ 🔒SEARCH_ MISSES - To speed up the search algorithm, we limit the number of times the level-2 parameter (q)
can hit its max value (initially
Q_FAST_MAX) before we try the next level-1 parameter (p). In practice, this has a small impact on the resulting perfect hash, resulting in about 1 in 10000 hash maps that fall back to the slow path.
Functions§
- find
- Directly compute the perfect hash function.