KIT | KIT-Bibliothek | Impressum | Datenschutz

ShockHash: Near Optimal-Space Minimal Perfect Hashing Beyond Brute-Force

Lehmann, Hans-Peter ORCID iD icon 1; Sanders, Peter ORCID iD icon 1; Walzer, Stefan ORCID iD icon 1
1 Institut für Theoretische Informatik (ITI), Karlsruher Institut für Technologie (KIT)

Abstract:

A perfect hash function (PHF) maps a set of N keys to the first M integers without collisions. If M = N , the hash function is called minimal perfect (MPHF) and is a bijection between the keys and the first N integers [N ]. Minimal perfect hashing has many applications. For example, it can be used to implement static hash tables with guaranteed constant access time [28]. Storing only payload data in the hash table cells, we obtain an updatable retrieval data structure [45], and storing only fingerprints [7, 22], we obtain an approximate membership data structure. The hashes can also be used as small identifiers of the input keys [10], which are more efficient to deal with than large and complex keys. Finally, there is a range of applications in bioinformatics [1, 13–15] and text indexing [3, 5, 59].


Verlagsausgabe §
DOI: 10.5445/IR/1000187076
Veröffentlicht am 18.11.2025
Cover der Publikation
Zugehörige Institution(en) am KIT Institut für Theoretische Informatik (ITI)
Publikationstyp Zeitschriftenaufsatz
Publikationsmonat/-jahr 11.2025
Sprache Englisch
Identifikator ISSN: 0178-4617, 1432-0541
KITopen-ID: 1000187076
Erschienen in Algorithmica
Verlag Springer
Band 87
Heft 11
Seiten 1620–1668
Vorab online veröffentlicht am 02.08.2025
Nachgewiesen in Scopus
OpenAlex
Dimensions
Web of Science
KIT – Die Universität in der Helmholtz-Gemeinschaft
KITopen Landing Page