Skip to content

Commit 83ef817

Browse files
committed
Use "forwarded" instead of "forwaded"
1 parent 51824e3 commit 83ef817

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

benchmarks/before_block_capture_block_vs_yield.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def capture_block_and_call_n_times(n, &block)
7171
> Surprisingly, `flat_map(&block)` appears to be faster than
7272
> `flat_map { yield }` in spite of the fact that our array here
7373
> is smaller than the break-even point of 20-25 measured in the
74-
> `capture_block_vs_yield.rb` benchmark. In fact, the forwaded-block
74+
> `capture_block_vs_yield.rb` benchmark. In fact, the forwarded-block
7575
> version remains faster in my benchmarks here no matter how small
7676
> I shrink the `words` array. I'm not sure why!
7777
>

0 commit comments

Comments
 (0)