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>
Fri, 5 Nov 2010 14:45:25 +0000 (14:45 +0000)
commit398c7299d50aa64f5043c2f946779c985ba01897
tree0f0f571a4eb66d2bc00fd83bff629b43657646f3
parentbf0123037f2dae40870422d55d24bd323951afa8
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.
(cherry picked from commit 58915725b1e464f7d447c0051ad916fbc1a82210)
.gitignore
configure.ac
fish/Makefile.am
fish/cmds_gperf.h [new file with mode: 0644]
generator/generator_fish.ml
generator/generator_main.ml
po/POTFILES.in