No such thing as a small change | |
PerlMonks |
Re^3: To Single Quote or to Double Quote: a benchmarkby Tanktalus (Canon) |
on Feb 02, 2005 at 17:14 UTC ( [id://427337]=note: print w/replies, xml ) | Need Help?? |
The way I read this benchmark is that for an approximately 50% gain in speed, you get the wrong answer. All depends on what you're looking for ... but '$i' is probably not what the user wants. As is pointed out elsewhere, this is comparing apples and oranges - one of them is wrong, and generally that would be the single quotes.
In Section
Seekers of Perl Wisdom
|
|