I've been trying to figure out another way to compress data from/to std::stringstream.
Here is the source how I do it now:
decompressed << "somestring.....";
Is there any way around this?
I want to avoid boost::iostreams::copy because it takes 40% of this source execution time.
How can I compress data directly to stringstream (to compressed in this example) without copying it?
PS: i tried asking on boost user newsgroups, but noone replies
Thank you very much for help