in reply to Re^3: Optimise file line by line parsing, substitute SPLIT
in thread Optimise file line by line parsing, substitute SPLIT
more quickly than you can read the file and do nothing
That does not have to be more quickly, just comparable time. 20%-30% is already significant.
Also, concept that whole application run time (from start to finish) is significant is a bit wrong.
Often startup time (when actually file is read) is significant, and after startup application is actually doing something useful (and can be blocked by disk/network IO or waiting for user action) till system reboot
Do you want me paste code where split() taking more than 20% of time when I just read file to memory and skip some/most of records ?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: Optimise file line by line parsing, substitute SPLIT
by BrowserUk (Patriarch) on Jun 03, 2013 at 14:54 UTC | |
by vsespb (Chaplain) on Jun 03, 2013 at 15:09 UTC | |
by BrowserUk (Patriarch) on Jun 03, 2013 at 16:03 UTC |