- Notifications
You must be signed in to change notification settings - Fork5
Commit0c5af0a
committed
Move BufferGetBlockNumber() out of heap_page_is_all_visible()'s inner loop.
In some workloads BufferGetBlockNumber() shows up in profiles due tothe sheer number of calls to it (and because it causes cachemisses). The compiler can't move it out of the loop because it's afull extern function call...1 parent6c878ed commit0c5af0a
1 file changed
+2
-1
lines changedLines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1754 | 1754 |
| |
1755 | 1755 |
| |
1756 | 1756 |
| |
| 1757 | + | |
1757 | 1758 |
| |
1758 | 1759 |
| |
1759 | 1760 |
| |
| |||
1778 | 1779 |
| |
1779 | 1780 |
| |
1780 | 1781 |
| |
1781 |
| - | |
| 1782 | + | |
1782 | 1783 |
| |
1783 | 1784 |
| |
1784 | 1785 |
| |
|
0 commit comments
Comments
(0)