Abstract We present new, improved algorithms for performing deletions and subsequent searches in hash tables. Our method is based on open addressing hashing extended to allow efficient reclamation of unoccupied space due to deletions which enables dynamic shortening of probe sequence lengths. We present an analysis on the number of table probes required to locate an element in the table. Specifically, we present a formula which bounds the average number of cells visited during searches of a data element over its lifetime assuming a system in equilibrium. The formula is a function of the probability that an accessed element is deleted and is exact at the extreme points when the probability is 0 and 1. In the case that the probability is 0 and the load factor is α, the number of cell visits per search access is − ln (1−α) α , and in the case that the probability is 1 the number of cell visits per search access is 1 (1−α) .
[1]
W. W. Peterson,et al.
Addressing for Random-Access Storage
,
1957,
IBM J. Res. Dev..
[2]
Donald Ervin Knuth,et al.
The Art of Computer Programming
,
1968
.
[3]
William Feller,et al.
An Introduction to Probability Theory and Its Applications
,
1967
.
[4]
Leonidas J. Guibas.
The Analysis of Hashing Techniques That Exhibit k-ary Clustering
,
1978,
JACM.
[5]
George S. Lueker,et al.
More analysis of double hashing
,
1988,
STOC '88.
[6]
J. Wolfowitz.
Review: William Feller, An introduction to probability theory and its applications. Vol. I
,
1951
.