1 comment

[ 5.2 ms ] story [ 15.0 ms ] thread
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.