in reply to Sloooooow algo in Perl
Turn on strictures and warnings and then make sure all of the vars used are lexicals. Furthermore avoid multiple derefs when possible. Just from switching away from using package vars you should see a noticable speedup.
|
|---|