FICHA · MANJARO

gperf

Perfect hash function generator

  • development-tool
  • CLI
  • Dev
  • CODE-GENERATION
  • Launchable
  • Runs in terminal
official+codex · reviewed · May 28, 2026 description in en

Description

A generator for perfect hash functions from a fixed set of input keys. Developers use it to create fast lookup code where the list of valid words, tokens, or commands is known ahead of time.

Install it if you build parsers, compilers, command tables, or other software that benefits from generated perfect hashes. Generated code should be reviewed and tested with the exact key set.

How to run

gperf

Commands: gperf

Permissions

Permissions not analysed for this source yet.