Re: Unimpressed with pg_attribute_always_inline

Поиск
Список
Период
Сортировка
От Peter Geoghegan
Тема Re: Unimpressed with pg_attribute_always_inline
Дата
Msg-id CAH2-Wzm+RH=-SGpZsu+4y0JDj_RQDUbJSvfP13NAzjm90WpAtw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Unimpressed with pg_attribute_always_inline  (Andres Freund <andres@anarazel.de>)
Ответы Re: Unimpressed with pg_attribute_always_inline
Список pgsql-hackers
On Mon, Jan 8, 2018 at 4:22 PM, Andres Freund <andres@anarazel.de> wrote:
>> Isn't that an argument against inlining in general, rather than
>> forcing inlining in particular?
>
> No. Normal 'inline' annotation doesn't do anything on -O0 / debug
> builds. But always_inline does, even though the goal of the usage is
> just to override the compiler's inlining heuristics.

Sorry, I found the way this was discussed confusing.

Anyway, ISTM that it should be possible to make
pg_attribute_always_inline have no effect in typical debug builds.
Wouldn't that make everyone happy?

-- 
Peter Geoghegan


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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: Unimpressed with pg_attribute_always_inline
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Unimpressed with pg_attribute_always_inline