Beefy Boxes and Bandwidth Generously Provided by pair Networks Cowboy Neal with Hat
Do you know where your variables are?
 
PerlMonks  

Re: Improvement on script needed.

by bm (Hermit)
on Sep 08, 2003 at 12:48 UTC ( #289756=note: print w/ replies, xml ) Need Help??


in reply to Improvement on script needed.

Your script would be much quicker if you took the open and close statements out of the foreach (keys %key) loop.

Do those statements only once, and maintain your data in arrays. Disk operations should be minimal, and in your case you only need to read and write once.
--
bm


Comment on Re: Improvement on script needed.
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (7)
As of 2014-04-19 19:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (483 votes), past polls