arXiv · 1808.04602
Hashing with Linear Probing and Referential Integrity
Abstract
We describe a variant of linear probing hash tables that never moves elements and thus supports referential integrity, i.e., pointers to elements remain valid while this element is in the hash table. This is achieved by the folklore method of marking some table entries as formerly occupied (tombstones). The innovation is that the number of tombstones is minimized. Experiments indicate that this allows an unbounded number of operations with bounded overhead compared to linear probing without tombstones (and without referential integrity).
Explore related subjects
Keep this discovery
Peter Sanders. 2018-08-14. Hashing with Linear Probing and Referential Integrity. https://arxiv.org/abs/1808.04602
Cite the original work for its findings. Save a collection to share your selection of sources.