in reply to Re: Looking for series in consecutive lines of a file
in thread Looking for series in consecutive lines of a file
Hi toolic, thanks very much for that, I have it working now on my end also so that it accepts the data from an input file.
As I understand it, it looks like your script reads in all of the data first (into the hash 'data'), prior to running the analysis. Is this correct? If so, is there a way rather to do the analysis piecemeal, in other words line by line? The reason I ask is that the files I have to deal with are quite large (up to 80G or so), so it may not be efficient or possible to store them in memory as opposed to parsing them line by line.
I apologize, I should have made this clear in my original post - but that is why I had my original strategy of reading line by line and storing the first 'qualifying' line of a set and comparing it to the subsequent lines, and then starting the process over for each new set of consecutive lines.
Thanks again, and thanks in advance if you are able to give advice on a line-by-line version. Cheers. MBP
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Looking for series in consecutive lines of a file
by Athanasius (Archbishop) on Feb 17, 2015 at 06:52 UTC | |
by Anonymous Monk on Feb 17, 2015 at 08:04 UTC | |
by mbp (Novice) on Feb 17, 2015 at 23:16 UTC | |
by mbp (Novice) on Feb 17, 2015 at 23:12 UTC |