Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    sub using_set_nomatch {
        ($no_match =~ /ba[rz]/) ? 1 : 0
    }
    
  2. or download this
    using_or_index 1
    using_or_noindex 0
    ...
    using_or_match    804828/s             8204%           6399%          
    +    21%              15%               15%             --            
    +-2%            -10%
    using_or_index    825420/s             8417%           6565%          
    +    24%              18%               18%             3%            
    + --             -8%
    using_set_match   898573/s             9172%           7155%          
    +    35%              29%               28%            12%            
    + 9%              --