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
fdb62480cd
ruby--ruby
/
benchmark
/
bm_vm2_struct_small_aref.rb
8 lines
99 B
Ruby
Raw
Blame
History
s
=
Struct
.
new
(
:a
,
:b
,
:c
)
x
=
s
.
new
i
=
0
while
i
<
6_000_000
# benchmark loop 2
i
+=
1
x
.
a
end
View Git Blame
Copy Permalink