A perfect hash function generator http://www.gnu.org/software/gperf/
Go to file
2024-01-05 23:22:09 +01:00
gperf.spec automatic version update by autodist [release 3.1-1mamba;Tue Feb 07 2017] 2024-01-05 23:22:09 +01:00
README.md automatic version update by autodist [release 3.0.4-2mamba;Wed Jul 10 2013] 2024-01-05 23:22:08 +01:00

gperf

GNU gperf is a perfect hash function generator. For a given list of strings, it produces a hash function and hash table, in form of C or C++ code, for looking up a value depending on the input string. The hash function is perfect, which means that the hash table has no collisions, and the hash table lookup needs a single string comparison only.

Output from the gperf program is used to recognize reserved words in the GNU C, GNU C++, and GNU Pascal compilers, as well as with the GNU indent program.