mphf_benchmark
A Benchmark of Minimal Perfect Hash Function Algorithms.
view repo
Given a set S of n distinct keys, a function f that bijectively maps the keys of S into the range {0,…,n-1} is called a minimal perfect hash function for S. Algorithms that find such functions when n is large and retain constant evaluation time are of practical interest; for instance, search engines and databases typically use minimal perfect hash functions to quickly assign identifiers to static sets of variable-length keys such as strings. The challenge is to design an algorithm which is efficient in three different aspects: time to find f (construction time), time to evaluate f on a key of S (lookup time), and space of representation for f. Several algorithms have been proposed to trade-off between these aspects. In 1992, Fox, Chen, and Heath (FCH) presented an algorithm at SIGIR providing very fast lookup evaluation. However, the approach received little attention because of its large construction time and higher space consumption compared to other subsequent techniques. Almost thirty years later we revisit their framework and present an improved algorithm that scales well to large sets and reduces space consumption altogether, without compromising the lookup time. We conduct an extensive experimental assessment and show that the algorithm finds functions that are competitive in space with state-of-the art techniques and provide 2-4× better lookup time.
READ FULL TEXT
A minimal perfect hash function f for a set S of n keys is a bijective
f...
read it
A minimal perfect hash function bijectively maps a key set S out of a
un...
read it
Bloom filter is a compact memory-efficient probabilistic data structure
...
read it
The Linked Data principles provide a decentral approach for publishing
s...
read it
Minimal perfect hash functions (MPHFs) are used to provide efficient acc...
read it
For nearly six decades, the central open question in the study of hash t...
read it
Given a relational database, a key is a set of attributes such that a va...
read it
Comments
There are no comments yet.