4 ms·
Relevant, alternate implementation for C and C++: https://www.gnu.org/software/gperf/ https://www.gnu.org/software/gperf/
by kruhft 9y ago
Relevant, alternate implementation for C and C++:
https://www.gnu.org/software/gperf/ https://www.gnu.org/software/gperf/
- martincmartin 9y agogperf's time complexity is quite bad. It predates the modern, minimal perfect hashing by a few decades. But it's easy to download & run.
- kruhft 9y agoAs long as it still works. :)
- rurban 9y agoNope, not at all. gperf creates totally different and unoptimized perfect hashes, not minimal at all.
- kruhft 9y agoGood to know, thanks.