remove open-coded popcount in acl.c

From: Nathan Bossart <nathandbossart(at)gmail(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: remove open-coded popcount in acl.c
Date: 2025-03-12 15:50:07
Message-ID: Z9GtL7Nm6hsYyJnF@nathan
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

Attachment Content-Type Size
v1-0001-Remove-open-coded-popcount-in-acl.c.patch text/plain 1.2 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Mark Dilger 2025-03-12 15:52:36 Re: Index AM API cleanup
Previous Message Andrew Dunstan 2025-03-12 15:48:45 Re: Non-text mode for pg_dumpall