Design
hash.txt
Associated article: Good Hash Tables & Multiple Hash Functions
Tags: Design
Published source code accompanying the article by Michael Mitzenmacher in which he presents a multiple hash method that produce good hash tables for applications ranging from employee databases to Internet routers.
Good Hash Tables & Multiple Hash Functions
by Michael Mitzenmacher
Listing One
index1 = hash1(key); // hash1 returns a number from [0,m - 1]
index2 = hash2(key); // hash2 returns a number from [0,m - 1]
if (count_keys(index1) < count_keys(index2))
...


