Nov 18, 2012 at 11:53am UTC
Can Anyone provide me a link to where I can find the C++ code for CityHash fucntion.
Nov 18, 2012 at 11:55am UTC
Do you know how to use google?
Nov 18, 2012 at 12:17pm UTC
If I found it on Google I would not have posted it here.
Nov 18, 2012 at 12:25pm UTC
Well, that's interesting. The very first link when you google takes you to a code repository with a C++ implementation.
Nov 18, 2012 at 1:08pm UTC
What do you mean by 'CityHash'?
Nov 18, 2012 at 1:17pm UTC
CIthHash is a hash function like Pearson hashing.
it maps a string to a number.
Nov 18, 2012 at 1:23pm UTC
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 Nov 18, 2012 at 1:23pm UTC
Nov 18, 2012 at 1:25pm UTC
No particular reason, any hash function will do as long as it fast and does not produce too much collisions