Help for this page

Select Code to Download


  1. or download this
    Upper case data
    ===============
    ...
                Rate with_tr old_way
    with_tr 182262/s      --    -33%
    old_way 270854/s     49%      --
    
  2. or download this
    #!/usr/bin/perl
    
    ...
          with_tr => 'use strict; use warnings; our $string; my @rv = with
    +_tr($string); 1',
       });
    }
    
  3. or download this
                  Rate   with_tr   old_way with_tr_i old_way_i
    with_tr   180473/s        --      -32%      -39%      -52%
    old_way   265506/s       47%        --      -10%      -29%
    with_tr_i 296058/s       64%       12%        --      -20%
    old_way_i 372377/s      106%       40%       26%        --
    
  4. or download this
    ...
    
    ...
          with_tr_i => 'use strict; use warnings; our $string; ' . $with_t
    +r_inline . ' 1;',
       }),
    }