pgsql: Make bitmapset.c use 64-bit bitmap words on 64-bit machines. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Make bitmapset.c use 64-bit bitmap words on 64-bit machines.
Date
Msg-id E1ga1yb-0002GB-Rt@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Make bitmapset.c use 64-bit bitmap words on 64-bit machines.

Using the full width of the CPU's native word size shouldn't cost
anything in typical cases.  When working with large bitmapsets,
this halves the number of operations needed for many common BMS
operations.  On the right sort of test case, a measurable improvement
is obtained.

David Rowley

Discussion: https://postgr.es/m/CAKJS1f9EGBd2h-VkXvb=51tf+X46zMX5T8h-KYgXEV_u2zmLUw@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/216af5eea5c8fdc9fca9d44da9eec33ac5e002d2

Modified Files
--------------
src/include/nodes/bitmapset.h | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)


pgsql-committers by date:

Previous
From: Alvaro Herrera
Date:
Subject: pgsql: DETACH PARTITION: hold locks on indexes until end oftransaction
Next
From: Tom Lane
Date:
Subject: pgsql: Doc: fix ancient mistake in search_path documentation.