Perl-Sensitive Sunglasses | |
PerlMonks |
Re: The problem with premature optimization...by shmem (Chancellor) |
on Jun 11, 2007 at 12:37 UTC ( [id://620485]=note: print w/replies, xml ) | Need Help?? |
No doubt chargill will agree with you that this sort of micro-optimization is just plain silly, since he wrote
To borrow a phrase from bobf, I "went all perlmonks on him". "Blah blah blah premature optimization blah blah micro optimization blah blah blah." I essentially suggested we throw it on the servers and see if it causes a problem. - but that's not the point of his post. It is about he being puzzled with why assignment of split results to two my-variables and returning those my-variables could be faster than directly returning the split results. Which isn't. :-) --shmem
In Section
Seekers of Perl Wisdom
|
|