aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistbuildbuffers.c
diff options
context:
space:
mode:
authorDavid Rowley <drowley@postgresql.org>2024-09-05 15:59:47 +1200
committerDavid Rowley <drowley@postgresql.org>2024-09-05 15:59:47 +1200
commit19b861f880166fbdb67d268955e590881376f876 (patch)
tree25a03797d3b587247396ad9ae6c495f91353eb2e /src/backend/access/gist/gistbuildbuffers.c
parent06421b08436414b42cd169501005f15adee986f1 (diff)
downloadpostgresql-19b861f880166fbdb67d268955e590881376f876.tar.gz
postgresql-19b861f880166fbdb67d268955e590881376f876.zip
Speedup WindowAgg code by moving uncommon code out-of-line
The code to calculate the frame offsets is only performed once per scan. Moving this code out of line gives a small (around 4-5%) speedup when testing with some CPUs. Other tested CPUs are indifferent to the change. Reviewed-by: Ashutosh Bapat <ashutosh.bapat.oss@gmail.com> Reviewed-by: Tatsuo Ishii <ishii@postgresql.org> Discussion: https://postgr.es/m/CAApHDvqPgFtwme2Zyf75BpMLwYr2mnUstDyPiP%3DEpudYuQTPPQ%40mail.gmail.com
Diffstat (limited to 'src/backend/access/gist/gistbuildbuffers.c')
0 files changed, 0 insertions, 0 deletions