BitMagic-C++
|
Example: bvector<> with different allocation/compression strategies. More...
Go to the source code of this file.
Functions | |
static void | fill_bvector (bm::bvector<> *bv1, bm::bvector<> *bv2) |
static void | print_statistics (const bm::bvector<> &bv) |
int | main (void) |
Variables | |
const unsigned | MAX_VALUE = 1000000 |
Example: bvector<> with different allocation/compression strategies.
Definition in file sample3.cpp.
|
static |
Definition at line 46 of file sample3.cpp.
References MAX_VALUE, and bm::bvector< Alloc >::set_bit().
Referenced by main().
int main | ( | void | ) |
Definition at line 72 of file sample3.cpp.
References bm::BM_GAP, fill_bvector(), bm::bvector< Alloc >::optimize(), print_statistics(), and bm::bvector< Alloc >::set_new_blocks_strat().
|
static |
Definition at line 59 of file sample3.cpp.
References bm::bvector< Alloc >::calc_stat(), and bm::bvector< Alloc >::count().
Referenced by main().
const unsigned MAX_VALUE = 1000000 |
Definition at line 40 of file sample3.cpp.
Referenced by fill_bvector().