Can Anyone provide me a link to where I can find the C++ code for CityHash fucntion.
Do you know how to use google?
If I found it on Google I would not have posted it here.
Well, that's interesting. The very first link when you google takes you to a code repository with a C++ implementation.
What do you mean by 'CityHash'?
CIthHash is a hash function like Pearson hashing.
it maps a string to a number.
Ah... I want to know some hash algorithms. Then I'll put all (all in one!) into a function. But, why do you know this hash? (I'm curious, hehe...)
Last edited on
No particular reason, any hash function will do as long as it fast and does not produce too much collisions