Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re^2: Regarding speed: Is elsif or just if faster?by blogical (Pilgrim) |
on Feb 25, 2007 at 03:16 UTC ( [id://601955]=note: print w/replies, xml ) | Need Help?? |
I agree- dispatch table ahoy! Maybe not for three possible inputs, but it sounds like this was inspired by a greater number, or by large branched chunks of code obscuring the elsif switches.
In Section
Seekers of Perl Wisdom
|
|