William Dillon b65d469721 updating mishmash hash to match main CodeDweller branch | 3 年之前 | |
---|---|---|
LICENSE.TXT | 3 年之前 | |
README.md | 3 年之前 | |
go.mod | 3 年之前 | |
mishmash.go | 3 年之前 | |
mishmash_test.go | 3 年之前 |
this is a non-cryptographic hash optimized for short strings.
.003% collision rate on 326K entries during testing
adapted from CodeDweller/mishmash
to use: use the Mishmash function. If you’re in need of a second hash use Engine instead, which will return the accumulator. You can use the MishmashAccumulator function to mishmash your accumulator, and could also feed that accumulator back into Mishmash to double hash.