creating perfect minimal hash function
Project description
Generate a minimal perfect hash function for a given set of keys. 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: http://www.amk.ca/python/code/perfect-hash
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. http://cmph.sourceforge.net/papers/chm92.pdf
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
perfect-hash-0.3.0.tar.gz
(7.5 kB
view details)
File details
Details for the file perfect-hash-0.3.0.tar.gz
.
File metadata
- Download URL: perfect-hash-0.3.0.tar.gz
- Upload date:
- Size: 7.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/3.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b49ec1a569f223b73175de1e4de613e400fc97850de4611a40daf48cee12b60 |
|
MD5 | 2db6ffb20cebe895b7c03ad19a00b3f8 |
|
BLAKE2b-256 | 64df80d4d1661162f0e890cf827b4408ec4a4213318a94c663172899b54924aa |