Profile, then optimize. Devel::NYTProf is sort of the big guy on the block for profiling in Perl.
Once you've identified the problem areas, that's where the real programming begins. Remember:
If your code is too slow, you must make it faster. If no better algorithm is available, you must trim cycles.
-- Tom "Duff's Device" Duff
Dave
In reply to Re: Performance improvement in perl scripts
by davido
in thread Performance improvement in perl scripts
by balakrishnan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |