1 comment

[ 2.0 ms ] story [ 15.2 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.