Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

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.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2016-06-30 07:59 GMT
Find Nodes?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...

    Results (389 votes). Check out past polls.