Using pg_bitutils.h in tidbitmap.c.

From: Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Using pg_bitutils.h in tidbitmap.c.
Date: 2025-04-14 12:41:18
Message-ID: CA+hUKGLRN4_8sPHrwr4HDRV-_+_MddOyJ_Wc=2C2j6Hc0kkNig@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

tidbitmap.c's operations loop over all the bits, but could leap over
zeros with bitmap instructions like bitmapset.c. Hard to imagine that
matters, but I think it also comes out easier to read?

Attachment Content-Type Size
0001-Use-pg_bitutils.h-in-tidbitmap.c.patch text/x-patch 4.8 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Ranier Vilela 2025-04-14 12:46:12 Re: Add pg_get_injection_points() for information of injection points
Previous Message Kirill Reshke 2025-04-14 12:39:02 Re: Add pg_get_injection_points() for information of injection points