forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit4133c1f
committed
Avoid function call overhead of pg_popcount() in syslogger.c.
Instead of calling the pg_popcount() function for a single byte, wecan look up the value in the pg_number_of_ones array.Discussion:https://postgr.es/m/20240401221117.GB2362108%40nathanxps131 parent6687430 commit4133c1f
1 file changed
+1
-1
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
898 | 898 |
| |
899 | 899 |
| |
900 | 900 |
| |
901 |
| - | |
| 901 | + | |
902 | 902 |
| |
903 | 903 |
| |
904 | 904 |
| |
|
0 commit comments
Comments
(0)