rails/rails — comment on commit 3a967806ad9cb8e319edf90a88dae1fb1eb35935
File: activerecord/lib/active_record/explain.rb line 32
By dmitriy-kiriyenko:

You may even remove `&block` from signature and use `Proc.new` instead of `&block` in a place where it's passed through. Of course, that would make the code more cumbersome, but will avoid expensive implicit `to_proc` in half of the cases.

Just a thought, relevant to "yield > block.call".