.. /index

Iceberg Hashing

Iceberg Hashing

A hash table design (JACM 2023) that simultaneously optimizes space, cache efficiency, and stability — the third property being unusually rare. Stability here means elements rarely move once inserted, which matters enormously for persistent memory and disk-backed structures where every relocation is an I/O.

Why three-axis optimization is hard

Most hash maps optimize two of the three axes and give up the third:

Iceberg combines a small fast in-memory level with a larger overflow level, with an insertion policy designed to keep movement bounded. Most operations stay in the fast level; the large level absorbs overflow without forcing reorganization of already-placed elements.

Where it fits

Iceberg's stability property makes it especially attractive for:

For pure in-memory workloads where movement is cheap, the swiss-table family (boost-unordered-flat-map, abseil-flat-hash-map) still wins on raw throughput. Iceberg's tradeoff only pays off when movement carries an asymmetric cost.

In the broader theoretical picture

Iceberg sits alongside elastic-hashing (2025) as evidence that the hash map design space is not exhausted. The Swiss Table convergence dominates the practical landscape, but specific structural properties — stability, very high load factor tolerance, optimal probe complexity — still drive new theoretical work. See fastest-hash-map-2025 for context.

Linked from

Sources