We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e20d448 commit 973e232Copy full SHA for 973e232
code/enumerable/each_with_index-vs-while-loop.rb
@@ -14,6 +14,7 @@ def fast
14
ARRAY[index] + index
15
index += 1
16
end
17
+ ARRAY
18
19
20
Benchmark.ips do |x|
0 commit comments