I’ve just replaced MetroHash with CityHash and get 1000x (30ms instead of 30s) hashing speedup. It seems I somehow screwed MetroHash really bad. #cpp
Actually, Meow Hash beats those hashes on all sizes, from one byte to a billion bytes. But a) if you're planning on switching, we're finalizing 0.5 right now, so you'd want to wait for that, and b) I don't know much about the security of Metro, so I don't know how we compare.
-
-
For this application we care only on speed and good distribution (use for hash maps)
-
Then Meow Hash might well be a good choice, yes. v0.5 is a higher quality hash than v0.4 as well, so hopefully that would improve distribution, although right now we don't have any good distribution tests (other than smhasher, which we pass cleanly).
- Show replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.