Answers are grounded in this paper and cite their sources.
A method is presented for computing machine independent, minimal perfect hash functions of the form: hash value ← key length + the associated value of the key's first character + the associated value of the key's last character. Such functions allow single probe retrieval from minimally sized tables of identifier lists. Application areas include table lookup for reserved words in compilers and filtering high frequency words in natural language processing. Functions for Pascal's reserved words, Pascal's predefined identifiers, frequently occurring English words, and month abbreviations are presented as examples.
No takes yet. Share an insight, caveat, or question.
Richard J. Cichelli (1980) studied this question.
Synapse has enriched 10 related papers. Consider them for comparative context: