|
|
| XP is just a number | |
| PerlMonks |
Re^3: To Single Quote or to Double Quote: a benchmarkby Tanktalus (Canon) |
| on Feb 02, 2005 at 12:14 UTC ( [id://427337]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
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
|
|
||||||||||||||||||||||||