Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Optimise file line by line parsing, substitute SPLIT

by ramlight (Friar)
on Jun 03, 2013 at 13:28 UTC ( #1036749=note: print w/replies, xml ) Need Help??


in reply to Optimise file line by line parsing, substitute SPLIT

Before we can know whether the extra 8 seconds to use split is of any consequence, we need to know how much other processing you are doing on each line. If the time to process one file is on the order of a minute or so, then extra 8 seconds/file becomes noticeable. If it takes 10 minutes/file, then an extra 8 seconds doesn't make much difference.

If you don't yet know the answer to this question, then it is too soon to make this kind of optimization.

  • Comment on Re: Optimise file line by line parsing, substitute SPLIT

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1036749]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (3)
As of 2022-08-17 18:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?