[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bitset: expose bitset_resize
From: |
Akim Demaille |
Subject: |
Re: bitset: expose bitset_resize |
Date: |
Tue, 19 Mar 2019 13:20:42 +0100 |
> Le 19 mars 2019 à 12:53, Bruno Haible <address@hidden> a écrit :
>
> Hi Akim,
>
>> Ok to install?
>
> Just a comment:
>
>> + ARRAY bitsets cannot be resized. */
>
> This comment should better be added to bitset.h. Users will not look into the
> test's source code in order to learn about limitations of the API.
This is already documented. It's not a limitation, it's a specification of one
of the available implementations :)
> @item BITSET_ARRAY
> Array of bits (fixed size, fast for dense bitsets). Memory for bit array
> and bitset structure allocated contiguously.
I just meant the test to be easier to understand for the casual user.