Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: tips on how to speed up a very slow perl script requested

by BrowserUk (Patriarch)
on May 06, 2009 at 15:33 UTC ( [id://762307]=note: print w/replies, xml ) Need Help??


in reply to Re: tips on how to speed up a very slow perl script requested
in thread tips on how to speed up a very slow perl script requested

Good general advice, but but profiling the OPs code won't tell you anything that isn't readily apparent from a cursory inspection.

Matching N elements from one file against M elements from a second, by iterating through an array containing the M elements--and respliting each element each time through--it is obvious enough where the problems lie.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2024-03-29 11:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found