diff options
Diffstat (limited to 'ruby_2_2/benchmark/bm_vm2_struct_big_aset.rb')
-rw-r--r-- | ruby_2_2/benchmark/bm_vm2_struct_big_aset.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/ruby_2_2/benchmark/bm_vm2_struct_big_aset.rb b/ruby_2_2/benchmark/bm_vm2_struct_big_aset.rb deleted file mode 100644 index 5a1c3d16f3..0000000000 --- a/ruby_2_2/benchmark/bm_vm2_struct_big_aset.rb +++ /dev/null @@ -1,7 +0,0 @@ -s = Struct.new(*('a'..'z').map { |x| x.to_sym }) -x = s.new -i = 0 -while i<6_000_000 # benchmark loop 2 - i += 1 - x.k = i # x[10] = i -end |