Make bitmapset.c use 64-bit bitmap words on 64-bit machines.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 20 Dec 2018 17:19:07 +0000 (12:19 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 20 Dec 2018 17:19:07 +0000 (12:19 -0500)
commit216af5eea5c8fdc9fca9d44da9eec33ac5e002d2
treef99de0205f3b47741f39fe33589f0f99a4fab7d7
parent0c2377152f2b68d46a27d5821a2327b6ca441fca
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
src/include/nodes/bitmapset.h