Ruby array min and max are 20x faster in Ruby 2.4
borgs.cybrilla.com
Ruby array min and max are 20x faster in Ruby 2.4
1–2 of 2 posts
Re: Ruby array min and max are 20x faster in Ruby 2.4
#2Array min and max methods underwent some optimizations in Ruby 2.4 and they are way faster than before! Around 20x! Here are the benchmarks.