summaryrefslogtreecommitdiff
path: root/benchmark/bm_vm2_case.rb
blob: efbd366ebb0cea3af942d9c7989706bc3e0cd006 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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