© 1985 by British Computer Society
Practical Perfect Hashing

1 Department of Computer, Science, University of Waterloo, Ontario, Canada,, 2 Department of Computer Science, University of Victoria, Box 1700, Victoria, Canada, 3 Universitat Erlangen, IMMD IV, Martensstrasse 3, Erlangen, Germany
A practical method is presented that permits retrieval from a table in constant time. The method is suitable for large tables and consumes, in practice, O(n) space for n table elements. In addition, the table and the hashing function can be constructed in O(n) expected time. Variations of the method that offer different compromises between storage usage and update time are presented.
* Present address and address for correspondence: Department of Computer, Science, University of Waterloo, Waterloo, Ontario N2L 3G1.
Present address: Department of Computer Science, University of Victoria, Box 1700, Victoria, B.C.V8W 2Y2.
¶ Present address: Universität Erlangen, IMMD IV, Martensstrasse 3, 8520 Erlangen, Fedral Republic of Germany.
School of Computer Science, McGill University