-
Committer:
John Arbash Meinel
-
Date:
2009-10-17 04:29:50 UTC
-
mto:
This revision was merged to the branch mainline in
revision
4758.
-
Revision ID:
john@arbash-meinel.com-20091017042950-bazb5obtctyq8333
change the GroupcompressBlock code a bit.
If the first decompress request is big enough, just decompress everything.
And when we do that, let go of the decompressobj.
After digging through the zlib code, it looks like 1 zlib stream object
contains a 5kB internal state, and another 4*64kB buffers. (about 260kB
of total state.)
That turns out to be quite a lot if you think about it.