XP is just a number | |
PerlMonks |
Re: Inline subs?by PodMaster (Abbot) |
on May 02, 2003 at 07:15 UTC ( [id://254925]=note: print w/replies, xml ) | Need Help?? |
This particular loop goes through millions of iterations. Now the difference in run times between using a sub versus copying and pasting the code was under 1 minute,That doesn't really paint a picture. How long does a normal run take? 10 minutes? 2 minutes? 10 Hours? How long does the other one take? 9 minutes? 1 minute? 9 hours and 59 minutes? What's the percent difference? ( %10? %50? %0.16?)
If the increase is %50, i'd say go for it (what broquaint showed).
In Section
Seekers of Perl Wisdom
|
|