Faster Deterministic Dictionaries
Rasmus Pagh December 1999 |
Abstract:
We consider static dictionaries over the universe
on a unit-cost RAM with word size . Construction of a static dictionary
with linear space consumption and constant lookup time can be done in linear
expected time by a randomized algorithm. In contrast, the best previous
deterministic algorithm for constructing such a dictionary with elements
runs in time
for . This paper narrows the
gap between deterministic and randomized algorithms exponentially, from the
factor of to an factor. The algorithm is weakly
non-uniform, i.e. requires certain precomputed constants dependent on . A
by-product of the result is a lookup time vs insertion time trade-off for
dynamic dictionaries, which is optimal for a realistic class of deterministic
hashing schemes.
Available as PostScript, PDF. |