I found out this paper while I was checking out Postgres source code [1]. This is used for generating hash table of postgres keywords, where the hash function is produced on compile time (?) and used in that hash table - if I got everything right.<p>[1] <a href="https://github.com/postgres/postgres/blob/master/src/tools/PerfectHash.pm#L8" rel="nofollow">https://github.com/postgres/postgres/blob/master/src/tools/P...</a>