Re: Is it really such a good thing for newNode() to be a macro?

Поиск
Список
Период
Сортировка
От Greg Stark
Тема Re: Is it really such a good thing for newNode() to be a macro?
Дата
Msg-id 4136ffa0808270845y74d9aeccv2be1bc0924c760ac@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Is it really such a good thing for newNode() to be a macro?  ("Heikki Linnakangas" <heikki@enterprisedb.com>)
Список pgsql-hackers
On Wed, Aug 27, 2008 at 4:05 PM, Heikki Linnakangas
<heikki@enterprisedb.com> wrote:
> Tom Lane wrote:
> BTW, it would be nice to have a test case that shows it's worth messing with
> that.

At a guess the parser would be a good place to look. Perhaps a
benchmark of a parsing a very large query?

One thing I wonder is if you (or someone else) gets around to doing
the simple stack allocator for the parser if it will make
microoptimizations like this more visible.

-- 
greg


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Is it really such a good thing for newNode() to be a macro?
Следующее
От: Michelle Caisse
Дата:
Сообщение: code coverage patch