Get the latest tech news
Show HN: Rain hashes – well designed, simple and fast variable sized hashes
Rain Hashes: Rainbow, Rainstorm and a CLI-tool in C++ and NodeJS/wasm - DOSAYGO-Research/rain
News Rainsum v1.2.0 now includes improvements adapted from Frank J. T. Wojcik's SMHasher3, the gold standard for evaluating non-cryptographic hash functions. Runs 2 and 3 show similar results, consistently demonstrating that the native C++ version outperforms the WASM variant by a factor of ~3x to ~25x, depending on input size. Primes are chosen because they give a complete residue set under the modulus, ensuring a long cycle length at least regarding the nominal test operation.
Or read this on Hacker News