mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
13bc858dff
Replace block.call(x) with yield x in core iteration methods to take advantage of the new OP_BLKCALL optimization. This improves Integer#times by 13% and Array#each by 7%. Methods updated: - Integer#times, Integer#upto, Integer#downto - Array#each, Array#each_index Co-authored-by: Claude <noreply@anthropic.com>