Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: The High Price of Golf, and A Surprise

by bart (Canon)
on Sep 07, 2002 at 09:09 UTC ( #195859=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    cmpthese(
        $count,
    ...
          f_cmp     => sub { @sfl = sort { $a cmp $b } @afl },
          i_cmp     => sub { @sin = sort { $a cmp $b } @ain },
        });
    
  2. or download this
    Benchmark: timing 300 iterations of f_alpha, f_cmp, f_owtdi, f_sship, 
    +i_alpha, i_cmp, i_owtdi, i_sship...
       f_alpha: 26 wallclock secs (25.92 usr +  0.00 sys = 25.92 CPU) @ 11
    +.57/s (n=300)
    ...
    i_alpha 14.5/s     76%     71%     25%     25%      0%      --    -18%
    +    -24%
    f_sship 17.7/s    116%    110%     53%     53%     23%     23%      --
    +     -6%
    i_sship 18.9/s    130%    124%     63%     63%     31%     31%      7%
    +      --
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (9)
As of 2014-12-28 01:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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





    Results (177 votes), past polls