Database
aa997.txt
Associated article: Algorithm Alley
Tags: Database
Source code accompanying the article by Bob Jenkins in which he designs a new hash function.
_A Hash Function for Hash Table Lookup_
by Bob Jenkins
Example 1:
initialize(state)
for (each block)
{
combine(state, block);
mix(state);
}
return postprocess(state);
Example 2: Typical hash function
for (hash=0, i=0; i<hash; ++i)
hash ^= ((hash<<5)^(hash&...


