title: zlib inflate CHUNK size has to be the same as the size used in deflation?
body: <p>I followed the zlib inflate example from <a href="http://zlib.net/zlib_how.html" rel="nofollow">http://zlib.net/zlib_how.html</a> to decompress a zipped file. Even after I defined the CHUNK size as 256KB, I see the output data of each inflate() function call is only 8KB. I knew the zipped file was deflated by using a CHUNK size of 8K, so does this mean zlib inflate's CHUNK size has to be the same as the size used in deflation?</p>
  
  <p>If yes, without changing the source file, is there anyway to speed up decompression? Using a CHUNK size of 8K to decompress is slow.</p>