gperf

Perfect hash function generator

Install

All systems
curl cmd.cat/gperf.sh
Debian Debian
apt-get install gperf
Ubuntu
apt-get install gperf
Alpine
apk add gperf
Arch Arch Linux
pacman -S gperf
image/svg+xml Kali Linux
apt-get install gperf
CentOS
yum install gperf
Fedora
dnf install gperf
Windows (WSL2)
sudo apt-get update sudo apt-get install gperf
OS X
brew install gperf
Raspbian
apt-get install gperf
Docker
docker run cmd.cat/gperf gperf powered by Commando

gperf

Perfect hash function generator

gperf is a program that generates perfect hash functions for sets of key words. A perfect hash function is simply: A hash function and a data structure that allows recognition of a key word in a set of words using exactly 1 probe into the data structure.