Separate Chaining Meets Compact Hashing

05/01/2019
by   Dominik Köppl, et al.
0

While separate chaining is a common strategy for resolving collisions in a hash table taught in most textbooks, compact hashing is a less common technique for saving space when hashing integers whose domain is relatively small with respect to the problem size. It is widely believed that hash tables waste a considerable amount of memory, as they either leave allocated space untouched (open addressing) or store additional pointers (separate chaining). For the former, Cleary introduced the compact hashing technique that stores only a part of a key to save space. However, as can be seen by the line of research focusing on compact hash tables with open addressing, there is additional information, called displacement, required for restoring a key. There are several representations of this displacement information with different space and time trade-offs. In this article, we introduce a separate chaining hash table that applies the compact hashing technique without the need for the displacement information. Practical evaluations reveal that insertions in this hash table are faster or use less space than all previously known compact hash tables on modern computer architectures when storing sufficiently large satellite data.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
09/09/2021

All-Purpose Hashing

Despite being one of the oldest data structures in computer science, has...
research
02/06/2023

Storing a Trie with Compact and Predictable Space

This paper proposed a storing approach for trie structures, called coord...
research
07/16/2020

A Genetic Algorithm for Obtaining Memory Constrained Near-Perfect Hashing

The problem of fast items retrieval from a fixed collection is often enc...
research
02/18/2020

Compact Merkle Multiproofs

The compact Merkle multiproof is a new and significantly more memory-eff...
research
10/03/2018

BRAVO – Biased Locking for Reader-Writer Locks

Designers of modern reader-writer locks confront a difficult trade-off r...
research
10/08/2022

IcebergHT: High Performance PMEM Hash Tables Through Stability and Low Associativity

Modern hash table designs strive to minimize space while maximizing spee...
research
07/11/2018

Data-Parallel Hashing Techniques for GPU Architectures

Hash tables are one of the most fundamental data structures for effectiv...

Please sign up or login with your details

Forgot password? Click here to reset