Pibiri Ge, Trani R
Minimal perfect hashing PTHash Multi-threading External-memory
A function is a minimal perfect hash function for a set of size , if bijectively maps into the first n natural numbers. These functions are important for many practical applications in computing, such as search engines, computer networks, and databases. Several algorithms have been proposed to build minimal perfect hash functions that: scale well to large sets, retain fast evaluation time, and take very little space, e.g., 2 - 3 bits/key. PTHash is one such algorithm, achieving very fast evaluation in compressed space, typically many times faster than other techniques. In this work, we propose a new construction algorithm for PTHash enabling: (1) , to either build functions more quickly or more space-efficiently, and (2) , to scale to inputs much larger than the available internal memory. Only few other algorithms in the literature share these features, despite of their practical impact. We conduct an extensive experimental assessment on large real-world string collections and show that, with respect to other techniques, PTHash is competitive in construction time and space consumption, but retains 2 - 6× better lookup time.
Source: IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING (ONLINE), vol. 36 (issue 3), pp. 1249-1259
@article{oai:it.cnr:prodotti:485739, title = {Parallel and external-memory construction of minimal perfect hash functions with PTHash}, author = {Pibiri Ge and Trani R}, doi = {10.1109/tkde.2023.3303341}, year = {2023} }
Bibliographic record
Bibliographic record
Deposited version
Deposited version