Recently a colleague wanted to include a section on perfect hashing functions in the latest edition of a book 4, and after an on-line search brought up a reference of mine 8, he sent me an email asking if I could generate a minimal perfect hashing function (MPHF) for the set of reserved words in Ada 2005. This is a summary of the process that determined one.
/lp/association-for-computing-machinery/optimal-table-lookup-for-reserved-words-in-ada-0tyLUbAfkL