Comparison of Different Open Addressing Hashing Algorithms

Research output: Chapter in Book/Report/Conference proceedingConference contribution

2 Scopus citations

Abstract

Hash functions are among the oldest and most widely used data structures in computer science. Different hash functions exist. So, it is very important to compare their performance. In this paper, we introduced our new hash function which was proposed recently in [1], and compared its performance with two different open addressing hashing algorithms: double hashing and exponential hashing. Double hashing is a widely-used hash function, which offers good performance. Exponential hashing, proposed by Smith et al [2], has been shown through experimental analysis to be superior to double hashing when the data elements are not uniformly distributed. The good performance of exponential hashing is due to its ability of spreading the table elements more randomly than double hashing. While exponential hashing has some desirable characteristics, Smith points out that it produces less than full probe length on 1/2 of the table elements. This is undesirable since it could potentially lead to insertion and search failures. Our new hash function has the ability of spreading the table elements randomly, and produces full probe length on all the table elements at the same time. From this point of view, our new hash function combines the strength of both double hashing and exponential hashing with their weakness eliminated. Experimental results are presented to support our claims, which is followed by some theoretic analysis.

Original languageEnglish (US)
Title of host publication18th International Conference on Computers and Their Applications 2003, CATA 2003
EditorsNarayan C. Debnath
PublisherThe International Society for Computers and Their Applications (ISCA)
Pages1-4
Number of pages4
ISBN (Electronic)9781618395498
StatePublished - 2003
Externally publishedYes
Event18th International Conference on Computers and Their Applications, CATA 2003 - Honolulu, United States
Duration: Mar 26 2003Mar 28 2003

Publication series

Name18th International Conference on Computers and Their Applications 2003, CATA 2003

Conference

Conference18th International Conference on Computers and Their Applications, CATA 2003
Country/TerritoryUnited States
CityHonolulu
Period3/26/033/28/03

ASJC Scopus subject areas

  • General Computer Science

Fingerprint

Dive into the research topics of 'Comparison of Different Open Addressing Hashing Algorithms'. Together they form a unique fingerprint.

Cite this