Cmph is a free minimal perfect hash C library, providing several algorithms in the literature in a consistent, ease to use, API.
I come across with this code from steve hanov's blog.. he was mentionig your work.. Thank you guys for such a great work. ( maybe one day you will do this in a masochistic way by programming it in assembler :D )
I want to add it to Perl. http://blogs.perl.org/users/rurban/2011/02/use-types.html