summaryrefslogtreecommitdiff
path: root/devel/mph/PLIST
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2003-12-04 08:44:58 +0000
committeragc <agc@pkgsrc.org>2003-12-04 08:44:58 +0000
commitdeb37f88822a6071c384277ac33bf4f247554a73 (patch)
treeea9039dc966023ada8485e4e3615ed0ddac49784 /devel/mph/PLIST
parentd803acc0a576d6f43cd47c717a1eb57f10442c1f (diff)
downloadpkgsrc-deb37f88822a6071c384277ac33bf4f247554a73.tar.gz
Initial import of mph-1.2 into the NetBSD Packages Collection.
The program mph tries to generate an order preserving minimal perfect hashing (MPH) function for the set of keys, one per line, on stdin. Each key can be at most 4095 characters long (see keys.h to increase this limit), and the keys must be unique. If mph terminates, it emits a language independent binary or text representation of the MPH function on stdout. To generate a usable hash function, this output should be fed to a language dependent filter, like emitc. e.g. % mph <foo | emitc >hash.c The algorithm used by mph is probabilistic - it iterates until it finds a MPH function. For each failed iteration, it prints a (cryptic) reason on stderr. There is no no guarantee that mph will terminate. In practice this is unlikely, unless the constants specified with options -c or -m are too small (see below).
Diffstat (limited to 'devel/mph/PLIST')
-rw-r--r--devel/mph/PLIST6
1 files changed, 6 insertions, 0 deletions
diff --git a/devel/mph/PLIST b/devel/mph/PLIST
new file mode 100644
index 00000000000..250db098fa6
--- /dev/null
+++ b/devel/mph/PLIST
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/12/04 08:44:58 agc Exp $
+bin/emitc
+bin/mph
+bin/mphm
+bin/mphminm
+share/doc/mph.doc