Re:XXH3 – a new speed-optimized hash algorithm
by BeeOnRope on Friday March 15, 2019 @10:36PM
(#19406066)
Right, so that is a latency test because each result feeds back into the next call (through seed). A typical throughput test would be like:
Note that the hash value is consumed, but doesn't feed into the next result so multiple hashes can run in parallel. If that wasn't the case, it is lucky the loop wasn't compiled away entirely (probably because the hash functions and the test loop are in different compilation units and LTO is not turned on).
[ Parent
| on HN ]