forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit1a4be10
committed
Convert PageAddItem into a macro to save a few cycles.
Nowadays this is just a backwards-compatibility wrapper aroundPageAddItemExtended, so let's avoid the extra level of function call.In addition, because pretty much all callers are passing constantsfor the two bool arguments, compilers will be able to constant-foldthe conversion to a flags bitmask.Discussion: <552.1473445163@sss.pgh.pa.us>1 parentb1328d7 commit1a4be10
2 files changed
+5
-22
lines changedLines changed: 0 additions & 20 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
338 | 338 |
| |
339 | 339 |
| |
340 | 340 |
| |
341 |
| - | |
342 |
| - | |
343 |
| - | |
344 |
| - | |
345 |
| - | |
346 |
| - | |
347 |
| - | |
348 |
| - | |
349 |
| - | |
350 |
| - | |
351 |
| - | |
352 |
| - | |
353 |
| - | |
354 |
| - | |
355 |
| - | |
356 |
| - | |
357 |
| - | |
358 |
| - | |
359 |
| - | |
360 |
| - | |
361 | 341 |
| |
362 | 342 |
| |
363 | 343 |
| |
|
Lines changed: 5 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
410 | 410 |
| |
411 | 411 |
| |
412 | 412 |
| |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
413 | 418 |
| |
414 | 419 |
| |
415 |
| - | |
416 |
| - | |
417 | 420 |
| |
418 | 421 |
| |
419 | 422 |
| |
|
0 commit comments
Comments
(0)