Re: Making empty Bitmapsets always be NULL - Mailing list pgsql-hackers

From Ranier Vilela
Subject Re: Making empty Bitmapsets always be NULL
Date
Msg-id CAEudQArGkwRNu1RwKh+VKHq461MYWvuPetMXuv4M5A1NT=Asng@mail.gmail.com
Whole thread Raw
In response to Making empty Bitmapsets always be NULL  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Making empty Bitmapsets always be NULL  (David Rowley <dgrowleyml@gmail.com>)
List pgsql-hackers
Hi,

David Rowley wrote:
>I've adjusted the attached patch to do that.

I think that was room for more improvements.

1. bms_member_index Bitmapset can be const.
2. Only compute BITNUM when necessary.
3. Avoid enlargement when nwords is equal wordnum.
    Can save cycles when in corner cases?

Just for convenience I made a new version of the patch,
If want to use it.

regards,
Ranier Vilela
Attachment

pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: pgindent vs. pgperltidy command-line arguments
Next
From: James Coleman
Date:
Subject: Re: Use of additional index columns in rows filtering