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
7735e2da11
ruby--ruby
/
benchmark
/
bm_vm2_struct_small_href.rb
8 lines
101 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