|Subject:||Filter::Decompress example read by block|
|Date:||Mon, 28 Dec 2009 10:39:49 +1100|
|To:||bug-Filter [...] rt.cpan.org|
|From:||Kevin Ryde <user42 [...] zip.com.au>|
In the Filter::Decompress example in the sources, I wonder if the filter_read() calls made might be block-based, rather than line-based, which if I read the docs right would be by passing a size arg. That'd be good as an example of what you should do to be block based, and could be important if anyone actually runs the code as I don't think gzip/zlib compressed has newlines anywhere particular, so line-based may read huge chunks or tiny chunks (both undesirable :-).