Help for this page

Select Code to Download


  1. or download this
    sub faster {
        return 0 unless $_[0];
        @_ = ($_[0] - 1);
        &faster;
    }
    
  2. or download this
    cmpthese( -10, {
            "normal" => sub { normal(50000) },
    ...
            "faster" => sub { faster(50000) },
        }
    );
    
  3. or download this
             Rate normal   tail faster
    normal 2.34/s     --    -0%   -41%
    tail   2.35/s     0%     --   -41%
    faster 3.96/s    69%    68%     --