pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Make bitmapset.c use 64-bit bitmap words on 64-bit machines.
Date: Thu, 20 Dec 2018 17:19:13 +0000
Message-ID: <E1ga1yb-0002GB-Rt@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1ga1yb-0002GB-Rt@gemulon.postgresql.org>
Permalink:  ../E1ga1yb-0002GB-Rt@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1ga1yb-0002GB-Rt@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Make bitmapset.c use 64-bit bitmap words on 64-bit machines.
  In-Reply-To: <E1ga1yb-0002GB-Rt@gemulon.postgresql.org>
  References: <E1ga1yb-0002GB-Rt@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox