[Charset ISO-8859-1 unsupported, filtering to ASCII...]
> On 2000-01-18, Bruce Momjian mentioned:
>
> > Can you run our keywords.c using our method and gperf and see if there
> > is any speed difference?
>
> It seems to have a speed advantage of about 2.5. But in practice that
> means that 1 million words take half a second. It's not a big deal to me,
> I was just wondering before I throw it out. I guess it really only makes a
> difference for compilers, which operate on 1000+ lines.
>
The big difference may be that the compiler has variables/types that are
added dynamically while running, while our list is static. Insert time
for our types is zero because we don't add SQL keywords at runtime.
-- 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