[Charset ISO-8859-1 unsupported, filtering to ASCII...]
> A while ago I played around with gperf (GNU perfect hash function
> generator), abusing the keyword lookup in parser/keyword.c as playground.
> Now before I delete this I was wondering if this would perhaps be of use
> to the general public. I don't know how huge the speed advantage of this
> is, I'm sure the parser/scanner speed is the least of our problems. But I
> thunk especially ecpg could benefit from this. Btw., gperf is used by GCC,
> so it's not a toy.
keywords are a fixed array, with a binary search to find a match. Could
gperf be faster? We also can not distribute GNU code.
-- Bruce Momjian | http://www.op.net/~candle pgman@candle.pha.pa.us | (610)
853-3000+ If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill,
Pennsylvania19026