Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    sub foo { map /$str/, 1 .. 3 }
    
    foo for 1 .. 2;
    
  2. or download this
    Compiling REx "foobar"
    Final program:
    ...
    Compiling REx "foobar"
    Compiling REx "foobar"
    Compiling REx "foobar"
    
  3. or download this
    use strict;
    use warnings;
    ...
        }
    );
    cmpthese $r;
    
  4. or download this
                Rate use_str1  use_str   use_qr
    use_str1  3.65/s       --     -99%    -100%
    use_str    436/s   11853%       --     -99%
    use_qr   31592/s  865014%    7138%       --