To access the full text documents, please follow this link: http://hdl.handle.net/2117/122770

On deletions in open addressing hashing
Jiménez Gómez, Rosa María; Martínez Parra, Conrado
Universitat Politècnica de Catalunya. Departament de Ciències de la Computació; Universitat Politècnica de Catalunya. ALBCOM - Algorismia, Bioinformàtica, Complexitat i Mètodes Formals
Deletions in open addressing tables have often been seen as problematic. The usual solution is to use a special mark’deleted’ so that probe sequences continue past deleted slots, as if there was an element still sitting there. Such a solution, notwithstanding is wide applicability, may involve performance degradation. In the first part of this paper we review a practical implementation of the often overlooked deletion algorithm for linear probing hash tables, analyze its properties and performance, and provide several strong arguments in favor of the Robin Hood variant. In particular, we show how a small variation can yield substantial improvements for unsuccessful search. In the second part we propose an algorithm for true deletion in open addressing hashing with secondary clustering, like quadratic hashing. As far as we know, this is the first time that such an algorithm appears in the literature. Moreover, for tables built using the Robin Hood variant the deletion algorithm strongly preserves randomness (the resulting table is identical to the table that would result if the item were not inserted at all). Although it involves some extra memory for bookkeeping, the algorithm is comparatively easy and efficient, and it might be of some practical value, besides its theoretical interest.
Peer Reviewed
-Àrees temàtiques de la UPC::Informàtica::Informàtica teòrica::Algorísmica i teoria de la complexitat
-Cluster analysis
-Algorithms
-Clustering algorithms
-Hash table
-Linear probing
-Open addressing
-Performance degradation
-Probe sequence
-Robin Hood
-Small variations
-Combinatorial mathematics
-Anàlisi de conglomerats
-Algorismes
Article - Submitted version
Conference Object
Society for Industrial and Applied Mathematics (SIAM)
         

Show full item record

Related documents

Other documents of the same author

Duch Brown, Amalia; Jiménez Gómez, Rosa María; Martínez Parra, Conrado
Jiménez Gómez, Rosa María; Martínez Parra, Conrado
Duch Brown, Amalia; Lau Laynes-Lozada, Gustavo Salvador; Martínez Parra, Conrado
Martínez Parra, Conrado; Nebel, Markus; Wild, Sebastian
Kirschenhofer, P; Martínez Parra, Conrado; Prodinger, H
 

Coordination

 

Supporters