2026-09-12 12:03:42

Introducing PrimeHash → KC3 symbols hash table perfect hashing

  1. Write a hash function with the help of ChatGPT for error checking and insightful tests.

  2. Put all your symbols under it in a hash table with a nice bitmask. Count the collisions.

  3. Make an interface where you can report hash table usage and collisions.

  4. Find a seed where all your symbols fit under a few megs of memory without any collision.

  5. The seed for all the 2600+ symbols in the git.kmx.io website is a wonderful 10.

  6. ???

  7. Profit.


Related source code files on git.kmx.io :