Skip to content

Commit 51824e3

Browse files
committed
Use "forwarding" instead of "fowarding"
1 parent 1a4905b commit 51824e3

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
@@ -54,7 +54,7 @@ def capture_block_and_call_n_times(n, &block)
5454
> a high constant cost, taking about 5x longer than a single `yield`
5555
> (even if the block is never used!).
5656
>
57-
> However, fowarding a captured block can be faster than using `yield`
57+
> However, forwarding a captured block can be faster than using `yield`
5858
> if the block is used many times (the breakeven point is at about 20-25
5959
> invocations), so it appears that he per-invocation cost of `yield`
6060
> is higher than that of a captured-and-forwarded block.

0 commit comments

Comments
 (0)