Just another Perl shrine | |
PerlMonks |
Re^2: Random accessing a gzip fileby pmqs (Friar) |
on Oct 17, 2012 at 13:13 UTC ( [id://999538]=note: print w/replies, xml ) | Need Help?? |
Note that the implementation of seek in IO::Uncompress::Gunzip does not provide true random access to a compressed file. It works by uncompressing data from the current offset in the file/buffer until it reaches the ucompressed offset specified in the parameters to seek. For very small files this may be acceptable behaviour. For large files it may cause an unacceptable delay.
In Section
Seekers of Perl Wisdom
|
|