Perl Monk, Perl Meditation | |
PerlMonks |
Re^2: Optimizing perl code performanceby BillKSmith (Monsignor) |
on Aug 15, 2015 at 01:03 UTC ( [id://1138660]=note: print w/replies, xml ) | Need Help?? |
The standard advice for optimizing any code is to profile it, and then optimize only those parts which are shown to consume a large part of the processing time. In this case, MidLifeXis's suggestion accomplishes much the same thing with much less work.
Bill
In Section
Seekers of Perl Wisdom
|
|