compressing vector of bitset

I have huge about of texts, with each line being saved into multiple(i am processing each line in another part of program..but i want to effectively keep each line in memory so i choose bitset, thinking i can somehow compress this
automatically...
 
vector<bitset<8> > 


is there a way to compress(like remove 0s,etc.) to save space?
well..a bitset compression routine in C++ ...
Topic archived. No new replies allowed.