diff options
Diffstat (limited to 'benchmark/bm_vm2_case.rb')
-rw-r--r-- | benchmark/bm_vm2_case.rb | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/benchmark/bm_vm2_case.rb b/benchmark/bm_vm2_case.rb index efbd366ebb..1ec34ad692 100644 --- a/benchmark/bm_vm2_case.rb +++ b/benchmark/bm_vm2_case.rb @@ -1,14 +1,14 @@ -i=0
-while i<6000000 # while loop 2
- case :foo
- when :bar
- raise
- when :baz
- raise
- when :boo
- raise
- when :foo
- i+=1
- end
-end
-
+i=0 +while i<6000000 # while loop 2 + case :foo + when :bar + raise + when :baz + raise + when :boo + raise + when :foo + i+=1 + end +end + |