aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/ruleutils.c
diff options
context:
space:
mode:
authorNathan Bossart <nathan@postgresql.org>2024-03-19 14:46:16 -0500
committerNathan Bossart <nathan@postgresql.org>2024-03-19 14:46:16 -0500
commitcc4826dd5e52c8af7069feb49ce3cd9358fa6a6e (patch)
tree5ed611dd4a0a61ed48590159040dd571c30c82df /src/backend/utils/adt/ruleutils.c
parentb7e2121ab7d6166b835a46ceaab1b6a6dc589703 (diff)
downloadpostgresql-cc4826dd5e52c8af7069feb49ce3cd9358fa6a6e.tar.gz
postgresql-cc4826dd5e52c8af7069feb49ce3cd9358fa6a6e.zip
Inline pg_popcount{32,64} into pg_popcount().
On some systems, calls to pg_popcount{32,64} are indirected through a function pointer. This commit converts pg_popcount() to a function pointer on those systems so that we can inline the appropriate pg_popcount{32,64} implementations into each of the pg_popcount() implementations. Since pg_popcount() may call pg_popcount{32,64} several times, this can significantly improve its performance. Suggested-by: David Rowley Reviewed-by: David Rowley Discussion: https://postgr.es/m/CAApHDvrb7MJRB6JuKLDEY2x_LKdFHwVbogpjZBCX547i5%2BrXOQ%40mail.gmail.com
Diffstat (limited to 'src/backend/utils/adt/ruleutils.c')
0 files changed, 0 insertions, 0 deletions