Re: Single client performance on trivial SELECTs

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Single client performance on trivial SELECTs
Дата
Msg-id BANLkTinibo4PBvwTA=ThX_WO=MpiPP+QMA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Single client performance on trivial SELECTs  (Noah Misch <noah@leadboat.com>)
Список pgsql-hackers
On Thu, Apr 14, 2011 at 12:45 PM, Noah Misch <noah@leadboat.com> wrote:
>> It shouldn't be
>> terribly difficult to come up with some kind of hash function based
>> on, say, the first two characters of the keyword that would be a lot
>> faster than what we're doing now.
>
> I'd look at `gperf', which generates code for this from your keyword list.

I thought of that, but wasn't sure we wanted to introduce a dependency
on that tool.  That might be a pain, especially on Windows.  But maybe
we could steal the basic approach.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: WIP: Allow SQL-language functions to reference parameters by parameter name
Следующее
От: Robert Haas
Дата:
Сообщение: Re: WIP: Allow SQL-language functions to reference parameters by parameter name