Fast and simple bloom filters in C and Python
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

14 lines
162 B

typedef
struct {
size_t number;
int *arr;
}
bit_array_t;
int countbits(int);
int printbits(int);
int *new_bitarray(int);
int setbit(int*, int);