Paper record
W2124820199The analysis of closed hashing under limited randomness
Jeanette P. Schmidt, A. Siegel
- Year
- 1990
- Venue
- ACM Symposium on Theory of Computing (STOC)
- References
- 13
- Cited by
- 46
Details and counts from OpenAlex.
Abstract
This paper gives the first optimal bounds for classical closed hashing schemes in the case of limited randomness.We thereby establish the first proof of optimality for hashing arbitrarily selected data, by virtually any classical closed scheme, with hash functions that are programmable and initialized by a small number of random bits.Let D = (xl, x2,..., x~) be a sequence of an distinct search keys, for a < 1, belonging to the universe U = {0, 1,...,m}.The objective is to hash D into a search table without the use of pointers and without relocating placed items.We show that for any fixed load a < 1, universal classes of c log n-wise independent hash functions yield the same expected performance as fully random hash functions for uniform hashing, linear probing, and double hashing.That is, the expected number of probes to insert the an-th item is asymptotically the same for clog n-wise independent functions as for idealized fully random hash functions.It follows that O(loglog m + log s n) random bits suffice for these hash schemes.In addition, this relationship holds for the expected r-th moment of the probe count, for any fixed r, with an additive term of only O( n )due to the limited randomness.Our performance bound for double hashing readily applies to any robust generalization that exhibits approximate pairwise independence for the first O(logn) probes of any item.This result is new even in the case of full randomness.When combined with the highly independent fast hash functions of [S-89], these results give the first randomized algorithms featuring~ for a word model of computation, constant time per probe and optimal probe performance (for double hashing and uniform hashing).These results are derived from a novel formulation that overestimates the expected probe count by underestimating the presence of local items already inserted into the hash table, and from a sharp analysis of the underlying stochastic structures formed by colliding items.