3 ms·
How do these compare to xxHash, which is 5x faster than CityHash? http://cyan4973.github.io/xxHash/ http://cyan4973.github.io/xxHash/
by electrum 11y ago
How do these compare to xxHash, which is 5x faster than CityHash? http://cyan4973.github.io/xxHash/ http://cyan4973.github.io/xxHash/
- glibgil 11y agoThe answer to your question is in the article. Why didn't you just search on page for "CityHash"?
- rurban 11y agoSee my overview at https://github.com/rurban/smhasher#smhasher https://github.com/rurban/smhasher#smhasher 5x faster depends on the context with such benchmarks. They are only useful for file or big buffer digests, but not for the general usage in a hash table, with small buffers and needed small code size. FNV1 still beats all those bigger hash functions, based on the new crc32c or aes intrinsics. So, CityHash is deprecated. If you want to ask, ask about FarmHash, its successor. MetroHash beats it. MetroHash also beats xxHash64 in all aspects.