ruby--ruby/benchmark/match_small.rb

2 lines
42 B
Ruby

1000000.times { 'haystack'.match(/hay/) }