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)
Список
Дерево обсуждения
Unimpressed with pg_attribute_always_inline Tom Lane <tgl@sss.pgh.pa.us>
Re: Unimpressed with pg_attribute_always_inline Thomas Munro <thomas.munro@enterprisedb.com>
Re: Unimpressed with pg_attribute_always_inline Thomas Munro <thomas.munro@enterprisedb.com>
Re: Unimpressed with pg_attribute_always_inline Andres Freund <andres@anarazel.de>
Re: Unimpressed with pg_attribute_always_inline Tom Lane <tgl@sss.pgh.pa.us>
Re: Unimpressed with pg_attribute_always_inline Andres Freund <andres@anarazel.de>
Re: Unimpressed with pg_attribute_always_inline Peter Geoghegan <pg@bowt.ie>
Re: Unimpressed with pg_attribute_always_inline Andres Freund <andres@anarazel.de>
Re: Unimpressed with pg_attribute_always_inline Peter Geoghegan <pg@bowt.ie>
Re: Unimpressed with pg_attribute_always_inline Tom Lane <tgl@sss.pgh.pa.us>
Re: Unimpressed with pg_attribute_always_inline Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: Unimpressed with pg_attribute_always_inline Andres Freund <andres@anarazel.de>
Re: Unimpressed with pg_attribute_always_inline Peter Geoghegan <pg@bowt.ie>
Re: Unimpressed with pg_attribute_always_inline Tom Lane <tgl@sss.pgh.pa.us>
Re: Unimpressed with pg_attribute_always_inline Andres Freund <andres@anarazel.de>
On Mon, Jan 8, 2018 at 4:22 PM, Andres Freund 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 по дате отправления