A FAMILY OF PERFECT HASHING METHODS

Citation
Bs. Majewski et al., A FAMILY OF PERFECT HASHING METHODS, Computer journal, 39(6), 1996, pp. 547-554
Citations number
29
Categorie Soggetti
Computer Sciences","Computer Science Hardware & Architecture
Journal title
ISSN journal
00104620
Volume
39
Issue
6
Year of publication
1996
Pages
547 - 554
Database
ISI
SICI code
0010-4620(1996)39:6<547:AFOPHM>2.0.ZU;2-X
Abstract
Minimal perfect hash functions are used for memory efficient storage a nd fast retrieval of items from static sets. We present an infinite fa mily of efficient and practical algorithms for generating order preser ving minimal perfect hash functions. We show that almost all members o f the family construct space and time optimal order preserving minimal perfect hash functions, and we identify the one with minimum constant s. Members of the family generate a hash function in two steps. First a special kind of function into an r-graph is computed probabilistical ly. Then this function is refined deterministically to a minimal perfe ct hash function. We give strong theoretical evidence that the first s tep uses linear random time. The second step runs in linear determinis tic time. The family not only has theoretical importance, but also off ers the fastest known method for generating perfect hash functions.