fast-ruby icon indicating copy to clipboard operation
fast-ruby copied to clipboard

Add an article about hash injection

Open gogainda opened this issue 11 years ago • 2 comments

http://andycroll.com/ruby/benchmarking-each_with_object-against-inject-when-building-hashes-from-arrays/

gogainda avatar Oct 23 '14 21:10 gogainda

Another article https://samsaffron.com/archive/2017/10/18/fastest-way-to-profile-a-method-in-ruby. Adding it here to not open new issue

stereobooster avatar Oct 20 '17 18:10 stereobooster

there is also https://rubybench.org/

stereobooster avatar Oct 23 '17 23:10 stereobooster

So, as can be seen in the PRs discussion, the difference is very minor, so there isn't much sense in adding this to the README.

mateusdeap avatar Jun 12 '23 12:06 mateusdeap