Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

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

by Anonymous Monk
on Feb 02, 2005 at 09:47 UTC ( #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? | Other CB clients
Other Users?
Others browsing the Monastery: (6)
As of 2021-10-21 09:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (83 votes). Check out past polls.

    Notices?