Simple bitset library in C. It includes fast functions to compute cardinalities, unions, intersections...
- It is tiny: it is made of three files (two header files and one source file).
- It is tested.
- It is fast.
Usage in C:
bitset_t * b = bitset_create();
bitset_set(b,10);
bitset_get(b,10);// returns true
To run tests:
make
./unit
Prerequisites: GCC-compatible compiler