A variant of Ahash written in C++.
- Almost the same for most cases.
- Use
VAES
for large input size onx86-64
targets - Use
SVE2-AES
for large input size onaarch64
targets - Changed
aarch64
behavior to give more robust hash values.
Yes, all tests are passed and the MomentChi2 result is GREAT
.
Can be much faster with VAES
targets. On AMD 7773X, the throughput boosts from ~45000 MB/s
(w/o VAES
) to ~95000 MB/s
(w/ VAES
).
The hash value is not stable across different platforms and may also vary with different versions. DO NOT USE this hash function as checksums for on-disk files.
AHash
family are designed for in-memory hash tables.
SVE2-AES
can not be tested properly. There is no accessible machine withsve2-aes
for me and for now.