fish: Use a perfect hash for faster command lookups.
authorRichard W.M. Jones <rjones@redhat.com>
Wed, 3 Nov 2010 20:34:42 +0000 (20:34 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Wed, 3 Nov 2010 20:34:42 +0000 (20:34 +0000)
commit58915725b1e464f7d447c0051ad916fbc1a82210
tree2300ce670996e97809518ba2fa14109c5dcc4b08
parentf661db2c393d1b7e4211c55682b7fac82a70e36d
fish: Use a perfect hash for faster command lookups.

Existing command lookups are approx O(n^2).  Replace this
with a perfect hash implementation which should be a lot
faster.
.gitignore
fish/Makefile.am
fish/cmds_gperf.h [new file with mode: 0644]
generator/generator_fish.ml
generator/generator_main.ml
po/POTFILES.in