I want to hash a string of length up-to 30. What will be the best idea to do that if time is my concern. The function will be called over 100 million times. currently I am u
static UInt64 CalculateHash(string read) { UInt64 hashedValue = 3074457345618258791ul; for(int i=0; i
This is a Knuth hash. You can also use Jenkins.