Help for this page

Select Code to Download


  1. or download this
               Rate    regex unpack_C unpack_a    split
    regex    9.95/s       --      -2%     -46%     -50%
    unpack_C 10.1/s       2%       --     -45%     -49%
    unpack_a 18.3/s      84%      80%       --      -9%
    split    20.0/s     101%      97%       9%       --
    
  2. or download this
    use strict;
    use warnings;
    ...
    
    local our $buf = "abcdef\x00ghik" x 10_000;
    cmpthese(-2, \%tests);