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
946e3bbdc2
ruby--ruby
/
benchmark
/
hash_to_proc.rb
10 lines
81 B
Ruby
Raw
Blame
History
h
=
{
}
10000
.
times
do
|
i
|
h
[
i
]
=
nil
end
5000
.
times
do
|
i
|
[
i
]
.
map
(
&
h
)
end
View Git Blame
Copy Permalink