ACM Home Page
Please provide us with feedback. Feedback
Dynamic hash tables
Full text PdfPdf (1.26 MB)
Source
Communications of the ACM archive
Volume 31 ,  Issue 4  (April 1988) table of contents
Pages: 446 - 457  
Year of Publication: 1988
ISSN:0001-0782
Author
Per-Ake Larson  Univ. of Waterloo, Waterloo, Ontario, Canada
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 36,   Downloads (12 Months): 270,   Citation Count: 16
Additional Information:

abstract   references   cited by   index terms   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/42404.42410
What is a DOI?

ABSTRACT

Linear hashing and spiral storage are two dynamic hashing schemes originally designed for external files. This paper shows how to adapt these two methods for hash tables stored in main memory. The necessary data structures and algorithms are described, the expected performance is analyzed mathematically, and actual execution times are obtained and compared with alternative techniques. Linear hashing is found to be both faster and easier to implement than spiral storage. Two alternative techniques are considered: a simple unbalanced binary tree and double hashing with periodic rehashing into a larger table. The retrieval time of linear hashing is similar to double hashing and substantially faster than a binary tree, except for very small trees. The loading times of double hashing (with periodic reorganization), a binary tree, and linear hashing are similar. Overall, linear hashing is a simple and efficient technique for applications where the cardinality of the key set is not known in advance.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

 
1
Carter, L.J. and Wegman, M.L. Universal Classes of Hash Functions, Journal of Computer and System Sciences 18, 1 (1979), 1.43-154.
2
 
3
 
4
Larson, P.-A. Dynamic hashing. BIT 18, 2 (1978}, 184--201.
 
5
Larson, P.-,~. Linear hashing with partial expansions. In Proceedings of the 6th Conference on Very Large Databases, (New York, 1980), 224-232.
6
7
 
8
Larson, P.-.~. Dynamic Hash Tables, Technical Report CS-86-21, University of Waterloo, 1986.
 
9
Litwin, W. Linear hashing: A new tool for file and table addressing. In Proceedings of the 6th Conference on Very Large Databases, (New York, 1980}, 212-223.
 
10
 
11
Mullin, J. K. Spiral storage: Efficient dynamic hashing with constant performance. Comput. J. 28, 3 {1985), 330-334.
 
12
Ramakrishna, M.V. Perfect Hashing for External Files, Technical Report CS-86-25, University of Waterloo, 1986.
 
13
Ramamohanarao, K. and Lloyd, J. K. Dynamic hashing schemes. Comput. J. 25, 4 (1982), 478-485.
14

CITED BY  16