Re: Unimpressed with pg_attribute_always_inline

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: Unimpressed with pg_attribute_always_inline
Дата
Msg-id 20180109013010.4e3htwvs3aza2ehw@alap3.anarazel.de
обсуждение исходный текст
Ответ на Re: Unimpressed with pg_attribute_always_inline  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Hi,

On 2018-01-08 20:20:09 -0500, Tom Lane wrote:
> No, you have it right.  I checked locally and confirmed Andres' assertion
> that by default, gcc (my version anyway) is not persuaded to inline
> ExecHashJoinImpl simply by "inline", but "always_inline" persuades it.
> Maybe at some level higher than -O2, or with some other weird flag,
> it would do what we want; but we probably don't want to mess with global
> compiler flags for this.

There's -finline-limit=n, but as you say, I don't think we want to mess
with this.

Greetings,

Andres Freund


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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: proposal: alternative psql commands quit and exit
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: PATCH: Configurable file mode mask