fastruby / fast-ruby

:dash: Writing Fast Ruby :heart_eyes: -- Collect Common Ruby idioms.
https://github.com/fastruby/fast-ruby
5.67k stars 376 forks source link

Suggestion! Add comment on each example why one method is faster than another #45

Closed xjyjp closed 2 years ago

xjyjp commented 9 years ago

Hi, JuanitoFatas. Thank you very much for your repo and I get a lot from it. The benchmarks can show which method is much faster clearly. However, I think if we add some comments to explain why it is much faster than another. How ruby implement the method in the source. I think that it would be much better to help users to understand it. Of course, I would like to help in this process.

ixti commented 8 years ago

:+1: