Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Curious Perl Behavior...

by linuxer (Curate)
on May 25, 2010 at 21:41 UTC ( [id://841638]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #! /usr/bin/perl
    # vim:ts=4 sw=4 sts=4 et nu fdc=3:
    ...
    
    __END__
    
  2. or download this
                 Rate   sum_list sum_by_ref
    sum_list   4.42/s         --       -45%
    sum_by_ref 8.00/s        81%         --
    
  3. or download this
    cmpthese( -1, {
        'sum_list'   => sub { sum_list(1..1_000_000);     },    
    ...
                 Rate   sum_list sum_by_ref
    sum_list   4.13/s         --        -9%
    sum_by_ref 4.55/s        10%         --
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2024-03-19 11:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found