3 fixnum_array2 = array_length.times.to_a.map {rand(10000)}
4 float_array2 = array_length.times.to_a.map {rand(10000.0).to_f}
5 string_array2 = array_length.times.to_a.map {"r" * rand(1..10000)}
6 mix_array2 = array_length.times.to_a.map {if rand(1..100) <= 50 then rand(1..10000).to_f else rand(1..10000) end}
7 all_zero_array2 =array_length.times.to_a.map {0}
10 fixnum_array10 = array_length.times.to_a.map {rand(10000)}
11 float_array10 = array_length.times.to_a.map {rand(10000.0).to_f}
12 string_array10 = array_length.times.to_a.map {"r" * rand(1..10000)}
13 mix_array10 = array_length.times.to_a.map {if rand(1..100) <= 50 then rand(1..10000).to_f else rand(1..10000) end}
14 all_zero_array10 =array_length.times.to_a.map {0}
17 fixnum_array1000 = array_length.times.to_a.map {rand(10000)}
18 float_array1000 = array_length.times.to_a.map {rand(10000.0).to_f}
19 string_array1000 = array_length.times.to_a.map {"r" * rand(1..10000)}
20 mix_array1000 = array_length.times.to_a.map {if rand(1..100) <= 50 then rand(1..10000).to_f else rand(1..10000) end}
21 all_zero_array1000 =array_length.times.to_a.map {0}
24 fixnum_array100000 = array_length.times.to_a.map {rand(10000)}
25 float_array100000 = array_length.times.to_a.map {rand(10000.0).to_f}
26 string_array100000 = array_length.times.to_a.map {"r" * rand(1..10000)}
27 mix_array100000 = array_length.times.to_a.map {if rand(1..100) <= 50 then rand(1..10000).to_f else rand(1..10000) end}
28 all_zero_array100000 =array_length.times.to_a.map {0}
31 fixnum_array2.sort_by: fixnum_array2.sort_by {|a| a}
32 float_array2.sort_by: float_array2.sort_by {|a| a}
33 string_length2.sort_by: string_array2.sort_by {|a| a.length}
34 mix_array2.sort_by: mix_array2.sort_by {|a| a}
35 all_zero2.sort_by: all_zero_array2.sort_by{|a| a}
37 fixnum_array10.sort_by: fixnum_array10.sort_by {|a| a}
38 float_array10.sort_by: float_array10.sort_by {|a| a}
39 string_length10.sort_by: string_array10.sort_by {|a| a.length}
40 mix_array10.sort_by: mix_array10.sort_by {|a| a}
41 all_zero10.sort_by: all_zero_array10.sort_by{|a| a}
43 fixnum_array1000.sort_by: fixnum_array1000.sort_by {|a| a}
44 float_array1000.sort_by: float_array1000.sort_by {|a| a}
45 string_length1000.sort_by: string_array1000.sort_by {|a| a.length}
46 mix_array1000.sort_by: mix_array1000.sort_by {|a| a}
47 all_zero1000.sort_by: all_zero_array1000.sort_by{|a| a}
49 fixnum_array100000.sort_by: fixnum_array100000.sort_by {|a| a}
50 float_array100000.sort_by: float_array100000.sort_by {|a| a}
51 string_length100000.sort_by: string_array100000.sort_by {|a| a.length}
52 mix_array100000.sort_by: mix_array100000.sort_by {|a| a}
53 all_zero100000.sort_by: all_zero_array100000.sort_by{|a| a}