in reply to Seeking through a large gzipped file

Obviously with 'open "zcat $filename|"' you need our own seek mechanism (like caching previously decompressed data).

Perhaps when you implemented it will be as slow as Compress::Zlib.

  • Comment on Re: Seeking through a large gzipped file

Replies are listed 'Best First'.
Re^2: Seeking through a large gzipped file
by roysperlarnab (Initiate) on May 14, 2013 at 17:08 UTC
    Actually, if we use zcat, then we have to read through the lines and you know what? This is faster than using Compress::Zlib's gzseek!!!