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

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Is it really such a good thing for newNode() to be a macro?
Дата
Msg-id 200808271836.03221.peter_e@gmx.net
обсуждение исходный текст
Ответ на Re: Is it really such a good thing for newNode() to be a macro?  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Is it really such a good thing for newNode() to be a macro?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:
> I considered that one, but since part of my argument is that inlining
> this is a waste of code space, it seems like a better inlining
> technology isn't really the answer.

The compiler presumably has the intelligence and the command-line options to 
control how much inlining one wants to do.  But without any size vs. 
performance measurements it is an idle discussion.  Getting rid of a global 
variable and macro ugliness is a worthwhile goal of its own.


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

Предыдущее
От: "Heikki Linnakangas"
Дата:
Сообщение: 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?