Skip to content

Commit

Permalink
Update the yield benchmark for CRuby 2.5 changes (#141)
Browse files Browse the repository at this point in the history
Co-authored-by: Ernesto Tagwerker <[email protected]>
  • Loading branch information
havenwood and etagwerker authored Nov 14, 2023
1 parent 7797b38 commit b9abe22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1083,7 +1083,7 @@ Comparison:
block.call: 1967300.9 i/s - 5.30x slower
```

MRI Ruby 2.5 implements [Lazy Proc allocation for block parameters](https://bugs.ruby-lang.org/issues/14045):
MRI Ruby 2.5 implements [Lazy Proc allocation for block parameters](https://bugs.ruby-lang.org/issues/14045), which speeds things up by about 3x.:

```
$ ruby -v code/proc-and-block/proc-call-vs-yield.rb
Expand Down

0 comments on commit b9abe22

Please sign in to comment.