News for hackers. Stuff that matters.
Re:Hacking the Golang Runtime with Genereics by codesniperjoe on Thursday December 22, 2022 @09:30AM (#34093584)
Maphash is an (non-cryptographic-secure) hash function, like CRC32 / CRC64 / XXH3-64 and others, so it turns data in an (almost) uniq uint64.

The main difference is, it is an hardware accelerated & optimized compiler function, now exposed via the new maphash package in stdlib.

And it is fast. Faster than the former performance leader xxh3(avx2/avx512).

Try maphash yourself (example data dedupliction) https://news.ycombinator.com/item?id=34091206

There are no comments on this comment yet.