From: | Andres Freund <andres(at)anarazel(dot)de> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Add pg_attribute_always_inline. |
Date: | 2017-12-13 23:56:00 |
Message-ID: | E1ePGsa-0008Ng-Oi@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(+)
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Paquier | 2017-12-14 04:05:32 | Re: pgsql: Provide overflow safe integer math inline functions. |
Previous Message | Andres Freund | 2017-12-13 21:37:54 | Re: pgsql: Provide overflow safe integer math inline functions. |