Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: How can I process large files efficiently?

by btrott (Parson)
on May 06, 2000 at 02:05 UTC ( [id://10442]=note: print w/replies, xml ) Need Help??


in reply to How can I process large files efficiently?

Here are some tips:
  • Are you loading the entire file into a variable or processing it line by line? Process it line by line for faster results, because you won't be thrashing memory.
  • Are you using regular expressions where you're searching for a variable? Make sure you're using the /o modifier if the variable is the same each time through the loop.
  • Comment on Re: How can I process large files efficiently?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2024-04-25 20:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found