smallset

Tools for subsets of [n], where n is not big
git clone git://www.tkruger.se/set_u64.git
Log | Files | Refs | README

commit 462e14d04f0b675d50bb0e99f423f1f486d977a1
parent b7eee3cedc9e9df775610e6f323909cc8b914a3a
Author: olikru <olikru@tkruger.se>
Date:   Mon,  8 Jan 2024 13:56:47 +0100

fixed readme

Diffstat:
MREADME | 8+++-----
1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/README b/README @@ -5,8 +5,6 @@ Implementation of subsets of {0,1,...,n-1} where n is small. This is implemented as a n-element bit vector. typedef struct { - size_t nmemb; // number of entries in stack - size_t alloc; // number of entries currently allocated for - - uint64_t *data; // array of entries - } stack_u64_t; + size_t bits; + uint8_t *data; + } smallset_t;