1 2 3 4 5 6 7 8 9 10 11 12 13 14
prelude: | class C < Array def set_ivars @a = nil @b = nil @c = nil end end c = C.new benchmark: vm_ivar_generic_set: | c.set_ivars loop_count: 30000000