Sha256: 6fb394d6691afaf5f83ef416f2141c560f610cba357679c1d82ff0adc92e1640
Contents?: true
Size: 396 Bytes
Versions: 18
Compression:
Stored size: 396 Bytes
Contents
# Some classes used in measurement tests class Allocator def make_arrays 10.times {|i| Array.new} end def make_hashes Hash.new Hash.new Hash.new Hash.new Hash.new end def make_strings a_string = 'a' b_string = a_string * 100 String.new(b_string) end def run make_arrays make_hashes make_strings end end
Version data entries
18 entries across 18 versions & 2 rubygems