News for hackers. Stuff that matters.
Re:Ruby array min and max are 20x faster in Ruby 2.4 by tejasbubane on Tuesday June 28, 2016 @02:10AM (#11991799)
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.