I have a piece of code which converts a string into a vector<bool>. To do that, I have to use push_back() 8 times for every byte, and it can get into millions of bytes. Is there a way I can speed this up?
//edit: Also, how are bool's represented in memory? Can I do a union between chars and bools and do it that way?