Help for this page

Select Code to Download


  1. or download this
    'regexpad' => sub 
    {
    ...
      #remove padding
      $arr[-1] = substr($arr[-1],-$padding);
    }
    
  2. or download this
                   Rate split_pos grep_split substr_map regexpad regexo re
    +gex substr_loop unpack
    split_pos    5841/s        --       -64%       -70%     -75%   -76%  -
    +76%        -79%   -80%
    ...
    regex       24272/s      316%        50%        24%       6%     1%   
    + --        -13%   -17%
    substr_loop 27778/s      376%        72%        42%      21%    16%   
    +14%          --    -5%
    unpack      29240/s      401%        81%        50%      27%    22%   
    +20%          5%     --