in reply to Speed and memory issue with large files
Tie::File does not work well on huge files. The following finds and prints the 20 millionth line of a 40 million line 3GB file in 12 seconds:
c:\test>wc -l syssort 40000000 syssort c:\test>dir syssort 19/12/2009 13:47 3,160,000,000 syssort perl -le"$t=time;scalar<>for 1..20e6;print scalar<>;print time()-$t" s +yssort 49_992_005_J1 chr9 97768833 97768867 ATTTTCTTCAATTA +CATTTCCAATGCTATCCCAAA + 35 12
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Speed and memory issue with large files
by ikegami (Patriarch) on Mar 19, 2010 at 17:21 UTC | |
by BrowserUk (Patriarch) on Mar 19, 2010 at 19:53 UTC | |
| |
|
Re^2: Speed and memory issue with large files
by firmament (Novice) on Mar 19, 2010 at 16:53 UTC |