Back to Search
Start Over
Perfect Hashing Functions: A Single Probe Retrieving Method for Static Sets.
- Source :
-
Communications of the ACM . Nov1977, Vol. 20 Issue 11, p841-850. 10p. - Publication Year :
- 1977
-
Abstract
- A refinement of hashing which allows retrieval of an item in a static table with a single probe is considered. Given a set I of identifiers, two methods are presented for building, in a mechanical way, perfect hashing functions, i.e. functions transforming the elements of I into unique addresses. The first method, the "quotient reduction" method, is shown to he complete in the sense that for every set I the smallest table in which the elements of! can be stored and from which they can be retrieved by using a perfect hashing function constructed by this method can be found. However, for nonuniformly distributed sets, this method can give rather sparse tables. The second method, the "remainder reduction" method, is not complete in the above sense, but it seems to give minimal (or almost minimal) tables for every kind of set. The two techniques are applicable directly to small sets. Some methods to extend these results to larger sets are also presented. A rough comparison with ordinary hashing is given which shows that this method can be used conveniently in several practical applications. [ABSTRACT FROM AUTHOR]
Details
- Language :
- English
- ISSN :
- 00010782
- Volume :
- 20
- Issue :
- 11
- Database :
- Academic Search Index
- Journal :
- Communications of the ACM
- Publication Type :
- Periodical
- Accession number :
- 17862523
- Full Text :
- https://doi.org/10.1145/359863.359887