Re:New Bare Hash Map: 2X-3X Speedup over SOTA
by kouteiheika on Monday March 15, 2021 @06:42AM
(#26464361)
> It may be the fastest rust hash, but certainly not faster than other fast hashes. More like 2x slower.
If it's so much slower then most likely something is wrong.
1) Did you enable the AES instruction when compiling? (IIRC it's disabled by default) 2) When compiling the benchmark did you have cross-language inlining enabled? (IIRC you need to compile your C++ code with a specific version of Clang to get it to inline between Rust and C++)
It may be the fastest rust hash, but certainly not faster than other fast hashes. More like 2x slower.
xxh3, t1ha0, wyhash are all much faster on the 2 machines I tested it on, an old 7 years old Intel i5-2300, and a new Ryzen 3200U.