Re: Unimpressed with pg_attribute_always_inline

Поиск
Список
Период
Сортировка
От Peter Geoghegan
Тема Re: Unimpressed with pg_attribute_always_inline
Дата
Msg-id CAH2-Wz=CgOTppSNyJnAHNYV5XiuhVs-21eTC0WuaKYCoaPWqLQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Unimpressed with pg_attribute_always_inline  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Unimpressed with pg_attribute_always_inline
Список pgsql-hackers
On Mon, Jan 8, 2018 at 4:12 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> When I complained that always_inline inhibits debuggability, I did NOT
> mean what shows up in perf reports.  I'm talking about whether you can
> break at, or single-step through, a function reliably and whether gdb
> knows where all the variables are.  In my experience, inlining hurts
> both of those things, which is why I'm saying that forcing inlining
> even in non-optimized builds is a bad idea.

Isn't that an argument against inlining in general, rather than
forcing inlining in particular?

-- 
Peter Geoghegan


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

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