3 ms·Ruby array min and max are 20x faster in Ruby 2.41 points by tejasbubane 10y agotejasbubane 10y agoArray min and max methods underwent some optimizations in Ruby 2.4 and they are way faster than before! Around 20x! Here are the benchmarks.