Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Why is my program so slow even though I've used hashes?

by akho (Hermit)
on May 28, 2009 at 16:55 UTC ( #766700=note: print w/ replies, xml ) Need Help??


in reply to Why is my program so slow even though I've used hashes?

As an addition to what moritz said (which is the most important thing here):

  • use English makes your regular expressions dramatically slower (see English).
  • Since you don't use English names for punctuation variables—it is unnecessary anyway. So are use UNIVERSAL qw(isa) (which should not be used as a function anyway) and use FileHandle. However, use warnings would be nice.


Comment on Re: Why is my program so slow even though I've used hashes?
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (10)
As of 2014-07-22 18:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (126 votes), past polls