TLDR Tech / Data
Simplest hash functions
For many practical uses, the simplest hash functions that provide good enough distribution are often the best choice. While security is not a concern, the naive addition hash performs decently on long text, and adding a single foldmul step brings collision rates close to SHA-256 on hash tables while using almost no code or CPU.
Read the full story