arXiv:cs/0612055

Paper record

W1982689753

Linear Probing with Constant Independence

Anna Pagh, Rasmus Pagh, Milan Ružić

Year
2009
Venue
SIAM Journal on Computing
References
23
Cited by
50

Details and counts from OpenAlex.

Abstract

Hashing with linear probing dates back to the 1950s and is among the most widely studied algorithms. In recent years, it has become one of the most important hash table organizations because it uses the cache of modern computers very well. Unfortunately, previous analyses relied either on complicated and space-consuming hash functions, or on the unrealistic assumption of free access to a hash function with random and independent function values. Carter and Wegman, in their seminal paper on universal hashing, have already raised the question of extending their analysis to linear probing. However, we show in this paper that linear probing using a pairwise independent family may have expected logarithmic cost per operation. On the positive side, we show that 5-wise independence is enough to ensure constant expected time per operation. This resolves the question of finding a space- and time-efficient hash function that provably ensures good performance for linear probing.