bitvek
Say, we have a bit vector —
it's nothing better than a Vec<bool>, but ...
what if we implement it,
and save some poor bits of memory?
Quick Start
The following vector only takes one byte of the heap memory!
use bitvec;
let vec = bitvec!;
Say, we have a bit vector —
it's nothing better than a Vec<bool>, but ...
what if we implement it,
and save some poor bits of memory?
The following vector only takes one byte of the heap memory!
use bitvek::bitvec;
let vec = bitvec![true, true, true, true, false, false, false, false];