Abstract

Previous chapter Next chapter Full AccessProceedings 2023 Proceedings of the Symposium on Algorithm Engineering and Experiments (ALENEX)SicHash - Small Irregular Cuckoo Tables for Perfect HashingHans-Peter Lehmann, Peter Sanders, and Stefan WalzerHans-Peter Lehmann, Peter Sanders, and Stefan Walzerpp.176 - 189Chapter DOI:https://doi.org/10.1137/1.9781611977561.ch15PDFBibTexSections ToolsAdd to favoritesExport CitationTrack CitationsEmail SectionsAboutAbstract A Perfect Hash Function (PHF) is a hash function that has no collisions on a given input set. PHFs can be used for space efficient storage of data in an array, or for determining a compact representative of each object in the set. In this paper, we present the PHF construction algorithm SicHash - Small Irregular Cuckoo Tables for Perfect Hashing. At its core, SicHash uses a known technique: it places objects in a cuckoo hash table and then stores the final hash function choice of each object in a retrieval data structure. We combine the idea with irregular cuckoo hashing, where different objects can have a different number of hash functions. Additionally, we use many small tables that we overload beyond their asymptotic maximum load factor. The most space efficient competitors often use brute force methods to determine the PHFs. SicHash provides a more direct construction algorithm that only rarely needs to re-compute parts. Our implementation improves the state of the art in terms of space usage versus construction time for a wide range of configurations. For some configurations, SicHash is up to 4.3 times faster than the next best competitor. At the same time, it provides very fast queries. Previous chapter Next chapter RelatedDetails Published:2023eISBN:978-1-61197-756-1 https://doi.org/10.1137/1.9781611977561Book Series Name:ProceedingsBook Code:PRAL23Book Pages:iii-213

Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call