Re:Why blocks make Ruby methods slower
by nahiluhmot on Friday February 27, 2015 @03:01PM
(#9120972)
I wonder if it costs less in JRuby or if JRuby's version of yield is less optimized.
[ Parent
| on HN ]
It's probably that jruby is just much more likely to inline it either way, at which point whether it was reified or not doesn't matter, unless you call something other than .call on the Proc object.