Help for this page

Select Code to Download


  1. or download this
    {   
        my ($end, $curr, $result);
    ...
            $_factorial->();
        }
    }
    
  2. or download this
    Timing factorial of 5
    Benchmark: running dragonchild1, dragonchild2, lexical, recursion, typ
    +eglob for at least 3 CPU seconds...
    ...
    recursion     68036/s       151%       132%         --         -24%   
    +      -36%
    dragonchild2  89931/s       231%       206%        32%           --   
    +      -15%
    dragonchild1 106370/s       292%       262%        56%          18%   
    +        --
    
  3. or download this
    Timing factorial of 15
    Benchmark: running dragonchild1, dragonchild2, lexical, recursion, typ
    +eglob for at least 3 CPU seconds...
    ...
    recursion    16313/s       167%        139%         --         -36%   
    +      -44%
    dragonchild2 25319/s       314%        271%        55%           --   
    +      -13%
    dragonchild1 29099/s       376%        326%        78%          15%   
    +        --
    
  4. or download this
    Timing factorial of 80
    Benchmark: running dragonchild1, dragonchild2, lexical, recursion, typ
    +eglob for at least 3 CPU seconds...
    ...
    recursion    5047/s        169%        144%         --         -34%   
    +      -43%
    dragonchild2 7694/s        309%        272%        52%           --   
    +      -13%
    dragonchild1 8835/s        370%        327%        75%          15%   
    +        --