Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Seeking through a large gzipped file

by vsespb (Chaplain)
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

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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1033509]
help
Chatterbox?
[trahulprajapati]: Hi All
[trahulprajapati]: can anyone please help me to login to a form which uses javascript ?

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (8)
As of 2017-06-22 17:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (525 votes). Check out past polls.