Hey all,
Nasko and I were poking around our hash functions. We were a bit surprised to find that we have the smhasher library in third_party, but we don't use either MurmurHash3 or CityHash for base::Hash().
My hazy memory recalls that MurmurHash and CityHash are the current "state of the art" hash functions in terms of speed on modern CPUs and hash distribution.
Here's a few related posts:
Has anyone looked into replacing SuperFashHash with either MurmurHash or CityHash, either in Chromium or in Blink/Webkit? My feeling is that even if it's net-neutral perfwise, reducing the number of hash functions we have in the code base is a good thing.