diff options
Diffstat (limited to 'benchmark/bm_vm1_ivar_set.rb')
-rw-r--r-- | benchmark/bm_vm1_ivar_set.rb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/benchmark/bm_vm1_ivar_set.rb b/benchmark/bm_vm1_ivar_set.rb index 023e397e92..c8076c6ab6 100644 --- a/benchmark/bm_vm1_ivar_set.rb +++ b/benchmark/bm_vm1_ivar_set.rb @@ -1,6 +1,6 @@ -i = 0
-while i<30_000_000 # while loop 1
- i+= 1
- @a = 1
- @b = 2
-end
+i = 0 +while i<30_000_000 # while loop 1 + i+= 1 + @a = 1 + @b = 2 +end |