git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 6687430) | patch
Avoid function call overhead of pg_popcount() in syslogger.c.
Tue, 2 Apr 2024 15:32:49 +0000 (10:32 -0500)
Tue, 2 Apr 2024 15:32:49 +0000 (10:32 -0500)
commit 4133c1f45c54f0e52b4bb758f67af78951930e43
Avoid function call overhead of pg_popcount() in syslogger.c.

Instead of calling the pg_popcount() function for a single byte, we
can look up the value in the pg_number_of_ones array.

Discussion: https://postgr.es/m/20240401221117.GB2362108%40nathanxps13
src/backend/postmaster/syslogger.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /