Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Seeking through a large gzipped file

by vsespb (Hermit)
on May 14, 2013 at 15:35 UTC ( #1033509=note: print w/ replies, xml ) Need Help??


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
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!!!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1033509]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2014-09-20 04:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (152 votes), past polls