Help for this page

Select Code to Download


  1. or download this
                 Rate    elsif dispatch
    elsif    252062/s       --     -73%
    dispatch 927942/s     268%       --
    
  2. or download this
    #!/usr/bin/perl
    # elsifbench - which is faster, a chain of elsif or a dispatch table? 
    ...
    cmpthese(-1,{elsif=>\&elsifchain,dispatch=>\&dispatch});
    
    exit;