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%
    +      --