Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^3: To Single Quote or to Double Quote: a benchmark

by Tanktalus (Canon)
on Feb 02, 2005 at 17:14 UTC ( [id://427337]=note: print w/replies, xml ) Need Help??


in reply to Re^2: To Single Quote or to Double Quote: a benchmark
in thread To Single Quote or to Double Quote

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.

  • Comment on Re^3: To Single Quote or to Double Quote: a benchmark

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://427337]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2024-09-08 03:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.