]> granicus.if.org Git - python/commit
Marc-Andre Lemburg <mal@lemburg.com>:
authorMarc-André Lemburg <mal@egenix.com>
Wed, 28 Jun 2000 16:53:16 +0000 (16:53 +0000)
committerMarc-André Lemburg <mal@egenix.com>
Wed, 28 Jun 2000 16:53:16 +0000 (16:53 +0000)
commit4e5302a27e97161ffefbe486ff56a134b1b697d3
tree402c001902a99c99e89be4d5f7c08071693dfb3f
parentc5bb9c21fe9f9b23fa952eab5e1d2f21fdf966b7
Marc-Andre Lemburg <mal@lemburg.com>:
Perfect hash table generator. Outputs a Python extension module
which provides access to the hash table (which is stored in static
C data) using custom code.

This module can currently only generates code for the ucnhash
module, but can easily be adapted to produce perfect hash tables
for other tasks where fast lookup in large tables is needed.

By Bill Tutt.
Tools/perfecthash/perfect_hash.py [new file with mode: 0644]