Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Curious Perl Behavior...

by linuxer (Deacon)
on May 25, 2010 at 21:41 UTC ( #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
Node Status?
node history
Node Type: note [id://841638]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (6)
As of 2014-12-20 10:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (95 votes), past polls