2023
Journal article  Open Access

Parallel and external-memory construction of minimal perfect hash functions with PTHash

Pibiri G. E., 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) (2023). doi:10.1109/TKDE.2023.3303341

Publisher: Institute of Electrical and Electronics Engineers,, New York, NY , Stati Uniti d'America


Metrics



Back to previous page
BibTeX entry
@article{oai:it.cnr:prodotti:485739,
	title = {Parallel and external-memory construction of minimal perfect hash functions with PTHash},
	author = {Pibiri G. E. and Trani R.},
	publisher = {Institute of Electrical and Electronics Engineers,, New York, NY , Stati Uniti d'America},
	doi = {10.1109/tkde.2023.3303341},
	journal = {IEEE transactions on knowledge and data engineering (Online)},
	year = {2023}
}