This website requires JavaScript.
Explore
Help
Sign In
1berry
/
ruby
Watch
1
Star
0
Fork
0
You've already forked ruby
Code
Issues
Packages
Projects
Releases
Wiki
Activity
ruby
/
benchmark
/
hash_small2.rb
2 lines
52 B
Ruby
Raw
Permalink
Normal View
History
Unescape
Escape
Revert "benchmark/*.yml: convert from benchmark/bm_*.rb" This reverts r63900. Having single-execution benchmark as a normal Ruby script is preferred by ko1. I'm not a big fan of having inconsistent benchmark formats, but I can understand some benefits of it. common.mk: remove obsolsted benchmark-each PHONY declaration, support running Ruby scripts added by this commit. README.md: follow ARGS change git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63926 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-07-10 13:05:29 +00:00
1000000
.
times
.
map
{
|
i
|
a
=
{
}
;
2
.
times
{
|
j
|
a
[
j
]
=
j
}
;
a
}
Reference in New Issue
Copy Permalink