aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistxlog.c
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2014-11-14 17:04:44 +0100
committerAndres Freund <andres@anarazel.de>2014-11-14 17:04:44 +0100
commit0c5af0a537a2d6320eb8ef7f401401aa1f47b79e (patch)
tree0a3f4a89a1b3439641ee4c5cd636ac420afd0d8d /src/backend/access/gist/gistxlog.c
parent6c878edc1df9d4d9ad7ed4a7e1c34c0bf0f622b9 (diff)
downloadpostgresql-0c5af0a537a2d6320eb8ef7f401401aa1f47b79e.tar.gz
postgresql-0c5af0a537a2d6320eb8ef7f401401aa1f47b79e.zip
Move BufferGetBlockNumber() out of heap_page_is_all_visible()'s inner loop.
In some workloads BufferGetBlockNumber() shows up in profiles due to the sheer number of calls to it (and because it causes cache misses). The compiler can't move it out of the loop because it's a full extern function call...
Diffstat (limited to 'src/backend/access/gist/gistxlog.c')
0 files changed, 0 insertions, 0 deletions