Re: [HACKERS] gperf anyone?
От | Bruce Momjian |
---|---|
Тема | Re: [HACKERS] gperf anyone? |
Дата | |
Msg-id | 200001190036.TAA07846@candle.pha.pa.us обсуждение исходный текст |
Ответ на | gperf anyone? (Peter Eisentraut <peter_e@gmx.net>) |
Ответы |
Re: [HACKERS] gperf anyone?
Re: [HACKERS] gperf anyone? |
Список | pgsql-hackers |
[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
В списке pgsql-hackers по дате отправления: