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
acfec23bec
ruby--ruby
/
benchmark
/
gc
/
hash1.rb
12 lines
103 B
Ruby
Raw
Blame
History
value
=
0
.
01
h
=
{
}
n
=
50_000
1
.
upto
(
n
)
{
|
i
|
h
[
"
%020d
"
%
i
]
=
"
v-
#{
i
}
"
}
(
n
*
1_000
)
.
times
{
''
}
View Git Blame
Copy Permalink