remove open-coded popcount in acl.c
Nathan Bossart <nathandbossart@gmail.com>
From: Nathan Bossart <nathandbossart@gmail.com>
To: pgsql-hackers@postgresql.org
Date: 2025-03-12T15:50:07Z
Lists: pgsql-hackers
Attachments
- v1-0001-Remove-open-coded-popcount-in-acl.c.patch (text/plain)
There's a count_one_bits() function in acl.c that can be replaced with a call to pg_popcount64(). This isn't performance-critical code, but IMHO we might as well use the centralized implementation. -- nathan
Commits
-
Remove count_one_bits() in acl.c.
- 025e7e1eb4b8 18.0 landed