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: remove_zero_trailing_words_from_bitmapsets_v5.patch
Description: Binary data

Reply via email to