summaryrefslogtreecommitdiff
path: root/benchmark/bm_vm1_swap.rb
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark/bm_vm1_swap.rb')
-rw-r--r--benchmark/bm_vm1_swap.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmark/bm_vm1_swap.rb b/benchmark/bm_vm1_swap.rb
index a565b6f..611baf6 100644
--- a/benchmark/bm_vm1_swap.rb
+++ b/benchmark/bm_vm1_swap.rb
@@ -1,7 +1,7 @@
a = 1
b = 2
i=0
-while i<30000000 # while loop 1
+while i<30_000_000 # while loop 1
i+=1
a, b = b, a
end