Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
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 scrutinizing the Monastery: (3)
As of 2015-07-05 07:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls