mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
7 lines
91 B
Ruby
7 lines
91 B
Ruby
|
i=0
|
||
|
str = 'xxxhogexxx'
|
||
|
while i<6000000 # benchmark loop 2
|
||
|
/hoge/ =~ str
|
||
|
i+=1
|
||
|
end
|