Linear Probing with Constant Independence

Anna Östlin Pagh, Rasmus Pagh, Milan Ruzic

    Research output: Journal Article or Conference Article in JournalJournal articleResearchpeer-review

    Abstract

    Hashing with linear probing dates back to the 1950s, and is among the most studied algorithms. In recent years it has become one of the most important hash table organizations since it uses the cache of modern computers very well. Unfortunately, previous analyses rely either on complicated and space consuming hash functions, or on the unrealistic
    assumption of free access to a truly random hash function. Already Carter and Wegman, in their seminal paper on universal hashing, 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.
    Original languageEnglish
    JournalSIAM Journal on Computing
    Volume39
    Issue number3
    Pages (from-to)1107-1120
    Number of pages14
    ISSN0097-5397
    Publication statusPublished - 2009

    Keywords

    • Algorithms
    • Performance
    • Theory
    • Hashing
    • Linear Probing

    Fingerprint

    Dive into the research topics of 'Linear Probing with Constant Independence'. Together they form a unique fingerprint.

    Cite this