Space Efficient Hash Tables with Worst Case Constant Access Time |
| |
Authors: | Dimitris Fotakis Rasmus Pagh Peter Sanders Paul Spirakis |
| |
Affiliation: | (1) Department of Information and Communication Systems Engineering, University of the Aegean, 83200 Karlovasi, Samos , Greece;(2) IT University of Copenhagen, DK1017 Copenhagen K , Denmark;(3) Fakultat fur Informatik, Universitat Karlsruhe, 76128 Karlsruhe , Germany;(4) Computer Technology Institute, 26110 Patras, Greece |
| |
Abstract: | We generalize Cuckoo Hashing to d-ary CuckooHashing and show how this yields a simple hash table data structure thatstores n elements in (1 + )n memory cells, for any constant > 0. Assuming uniform hashing, accessing or deleting table entries takes atmost d=O (ln (1/)) probes and the expected amortized insertiontime is constant. This is the first dictionary that has worst caseconstant access time and expected constant update time, works with(1 + )n space, and supports satellite information. Experimentsindicate that d = 4 probes suffice for 0.03.We also describe variants of the data structurethat allow the use of hash functions that can be evaluated in constant time. |
| |
Keywords: | |
本文献已被 SpringerLink 等数据库收录! |
|