pgsql: Add pg_attribute_always_inline.

Поиск
Список
Период
Сортировка
От Andres Freund
Тема pgsql: Add pg_attribute_always_inline.
Дата
Msg-id E1ePGsa-0008Ng-Oi@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Add pg_attribute_always_inline.

Sometimes it is useful to be able to insist that the compiler inline a
function that its normal cost analysis would not normally choose to inline.
This can be useful for instantiating different variants of a function that
remove branches of code by constant folding.

Author: Thomas Munro
Reviewed-By: Andres Freund
Discussion: https://postgr.es/m/CAEepm=09rr65VN+cAV5FgyM_z=D77Xy8Fuc9CDDDYbq3pQUezg@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/dbb3d6f0102e0aca7575ff864450fca57ac85517

Modified Files
--------------
src/include/c.h | 10 ++++++++++
1 file changed, 10 insertions(+)


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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: pgsql: Provide overflow safe integer math inline functions.
Следующее
От: Teodor Sigaev
Дата:
Сообщение: pgsql: Add approximated Zipfian-distributed random generator topgbench