Hashing with Linear Probing and Referential Integrity

Peter Sanders
DOI: https://doi.org/10.48550/arXiv.1808.04602
2018-08-14
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).
Data Structures and Algorithms
What problem does this paper attempt to address?