Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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 making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2015-07-28 02:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (251 votes), past polls