in reply to Re^3: How to improve speed of reading big files
in thread How to improve speed of reading big files
I used the above code with some minor modifications : i remove the day at the beginning of each line to have the time in front -> ready to be sorted and no substr needed!
results are:
The biggest gain (more than 40 sec) was on using the while on the handle instead of the list context with grep
Thanks a lot !!!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: How to improve speed of reading big files
by BrowserUk (Patriarch) on Sep 21, 2009 at 13:34 UTC |