smallset

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

README (201B)


      1 stack_u64
      2 =========
      3 
      4 Implementation of subsets of {0,1,...,n-1} where n is small. This is
      5 implemented as a n-element bit vector.
      6 
      7   typedef struct {
      8     size_t bits;
      9     uint8_t *data;
     10   } smallset_t;