Help for this page

Select Code to Download


  1. or download this
    use Benchmark q{cmpthese};
    my @arr = ( q{   fdsgehw fw wwfe w    } ) x 5000;
    ...
            },
        };
    
  2. or download this
                     Rate alternation* capture alternation+ twoStage* twoS
    +tageComma* splitJoin twoStage+ twoStageComma+
    alternation*   29.8/s           --     -1%         -18%      -34%     
    +      -35%      -44%      -65%           -66%
    ...
    twoStage+      84.6/s         184%    180%         132%       87%     
    +       84%       59%        --            -4%
    twoStageComma+ 87.8/s         194%    191%         141%       94%     
    +       91%       65%        4%             --