gperf

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.

Learn more

First released 2012
Developed by Free Software Foundation
Open-source Yes

Interesting facts

GNU gperf is highly customizable. There are 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.

30

Development by Synergize.digital

Sign up for updates
straight to your inbox