This website requires JavaScript.
Explore
Help
Sign In
kotovalexarian-likes-github
/
ruby--ruby
mirror of
https://github.com/ruby/ruby.git
Watch
1
Star
0
Fork
You've already forked ruby--ruby
0
Code
Releases
Activity
3bc92b8eac
ruby--ruby
/
benchmark
/
bm_string_scan_re.rb
3 lines
72 B
Ruby
Raw
Blame
History
str
=
Array
.
new
(
1_000
,
'abc'
)
.
join
(
','
)
1_000
.
times
{
str
.
scan
(
/
abc
/
)
}
View Git Blame
Copy Permalink