forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitdbb3d6f
committed
Add pg_attribute_always_inline.
Sometimes it is useful to be able to insist that the compiler inline afunction that its normal cost analysis would not normally choose to inline.This can be useful for instantiating different variants of a function thatremove branches of code by constant folding.Author: Thomas MunroReviewed-By: Andres FreundDiscussion:https://postgr.es/m/CAEepm=09rr65VN+cAV5FgyM_z=D77Xy8Fuc9CDDDYbq3pQUezg@mail.gmail.com1 parent923e8de commitdbb3d6f
1 file changed
+10
-0
lines changedLines changed: 10 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
146 | 146 |
| |
147 | 147 |
| |
148 | 148 |
| |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
149 | 159 |
| |
150 | 160 |
| |
151 | 161 |
| |
|
0 commit comments
Comments
(0)