From b9abe222f20b7057e3cd765a083d6e0845d6f0dd Mon Sep 17 00:00:00 2001 From: Shannon Skipper Date: Tue, 14 Nov 2023 05:13:21 -0800 Subject: [PATCH] Update the yield benchmark for CRuby 2.5 changes (#141) Co-authored-by: Ernesto Tagwerker --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b719bb8..fc2ffe8 100644 --- a/README.md +++ b/README.md @@ -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