The description of Hashgen - Play With New Friends
The Hashgen utility generates the source of a lookup function for a given static keyset (reserved words of a programming language, assembler mnemonics, XML-based language elements, etc.) The generated function will find any key in constant time using exactly one comparison. Every entry contains a key and arbitrary user-defined atributes associated with that key. The source code can be generated in C++, ANSI C, or K&R C.