Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: Performance Questionby rbc (Curate) |
on May 08, 2002 at 20:38 UTC ( [id://165168]=note: print w/replies, xml ) | Need Help?? |
I just recently wrote a script that was doing the same thing with a much smaller sized file yet it didn't run as fast I thought it should. Turns out I had a bug in the script. Here's the buggy script: The bug is that I was not doing $line = ""; when I was doing $tabCount = 0; thus printing a larger $line everytime and slowing things way down. I dunno but you might wanna make sure you don't have a bone head bugs like mine :) Good luck!
In Section
Seekers of Perl Wisdom
|
|