Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/env perl5.16.0
    
    use 5.16.0;
    ...
        sh2  => sub { run_tests 'smarthash_slow' },
        any  => sub { run_tests 'any_match' },
    };
    
  2. or download this
            Rate     sh2     sm1     sm2    grep     brx     any     sh1
    sh2   18.3/s      --    -30%    -33%    -87%    -92%    -93%   -100%
    sm1   26.3/s     44%      --     -4%    -81%    -88%    -90%   -100%
    ...
    brx    228/s   1145%    768%    735%     65%      --    -12%   -100%
    any    258/s   1309%    882%    844%     87%     13%      --   -100%
    sh1  52512/s 286329% 199445% 191840%  37948%  22899%  20227%      --