Rewrite Array#each in Ruby using Primitive by k0kubun · Pull Request #9533 · ruby/ruby
Same as #6687, but race condition-free. microbenchmark Interpreter Thanks to Primitive, the interpreter doesn't slow down. $ benchmark-driver benchmark/loop_each.yml -v --chruby 'before;aft...