2 ms·
Array min and max methods underwent some optimizations in Ruby 2.4 and they are way faster than before! Around 20x! Here are the benchmarks.
by tejasbubane 10y ago
Array min and max methods underwent some optimizations in Ruby 2.4 and they are way faster than before! Around 20x! Here are the benchmarks.