Skip to main content

creating perfect minimal hash function

Project description

Generate a minimal perfect hash function for the keys in a file, desired hash values may be specified within this file as well. A given code template is filled with parameters, such that the output is code which implements the hash function. Templates can easily be constructed for any programming language.

Part of the code is based on an a program A.M. Kuchling wrote:

The algorithm the program uses is described in the paper ‘Optimal algorithms for minimal perfect hashing’, Z. J. Czech, G. Havas and B.S. Majewski.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for perfect-hash, version 0.2.1
Filename, size File type Python version Upload date Hashes
Filename, size perfect-hash-0.2.1.tar.gz (8.9 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page