The gperf is a perfect hash function generator that produces a hash function and hash table for looking up a value depending on the input string. The hash function is perfect, indicating that the hash table has no collisions, and the hash table lookup requires a single string comparison only. GNU gperf is highly customizable and has options for generating C or C++ code, for emitting switch statements or nested ifs instead of a hash table, and for tuning the algorithm employed by gperf. The latest release and development sources can be obtained from the GNU mirror and savannah project. The software is licensed under the Free Software Foundation, and users can contact the support team to report any bugs or suggest recommendations for the software. Interested users may also browse the Git repository of the software group and get a copy of it using the anonymous or member clone. The Levitating, Meditating, Flute-playing Gnu logo is a GNU GPL'ed image provided by the Nevrax Design Team.
don't have tea/gui yet? download here
Copy the tea one-liner above into your terminal to install gperf. tea will interpret the documentation and take care of any dependencies.