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

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

  1. Remove count_one_bits() in acl.c.