---
name: "gperf-ace"
section: "1"
platform: "linux"
package: "gperf-ace"
version: "5.6.3-5"
release: "Debian 5.0 (Lenny)"
platforms: ["linux"]
url: "https://new.carta.tech/gperf-ace"
---

# gperf-ace(1)

generate a perfect hash function from a key set

## NAME

gperf-ace - generate a perfect hash function from a key set

## SYNOPSIS

**gperf-ace** \[  **-adghijklnoprsStv** \] \[  *keyfile* \]

## DESCRIPTION

*gperf-ace* reads a set of \`\`keys'' from *keyfile* (or, by default, from the standard input) and attempts to find a non-minimal perfect hashing function that recognizes a member of the key set in constant, i.e., O(1), time.  If such a function is found the program generates a pair of *C* source code routines that perform the hashing and table lookup.  All generated code is directed to the standard output.

Please refer to the *gperf-ace.texinfo* file for more information. This file is distributed with *gperf-ace* release.
