Interesting to see this, when just a few days ago we had another "new fast hash" item on the front page: https://news.ycombinator.com/item?id=19357895.
Anyone have a TL;DR regarding how these two compare?
Anyone have a TL;DR regarding how these two compare?
wyhash still is the recommended hash function: portable and lowest cycles/hash.
However xxxh3 is spectacularly fast, for small and esp. large key sizes. This is now the recommended hash for file or db digests.
String hash table stats not yet done, there FNV1A is still the recommendation, with safe collision handling.
TLDR: XXH3 uses less cycles per key, by about 30%. The real throughput / latency need a more equal and thorough benchmark of both, though.