Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

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

by Anonymous Monk
on Feb 02, 2005 at 09:47 UTC ( [id://427189]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
       "double", q !eval q {$a = "this is a string"}!,
       'single', q !eval q {$b = 'this is a string'}!,
    });
    
  2. or download this
              Rate single double
    single 34133/s     --    -1%
    double 34462/s     1%     --
    
  3. or download this
              Rate double single
    double 33810/s     --    -0%
    single 33811/s     0%     --
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2024-09-08 03:26 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.