Performance Improvements in Ruby 2.5

New Ruby versions keep improving & Ruby 2.5 is no different.
Ruby 2.5 is introducing some optimizations:

String interpolation will be around 72% faster when a large string is created
String#prepend will be around 42% faster if only one argument is given
Enumerable#sort_by, Enumerable#min_by & Enumerable#max_by will be about 50% faster


Performance Improvements in Ruby 2.5 #ruby #rubydeveloper #rubyonrails #performance https://rubyonrails.ba/single/performance-improvements-in-ruby-25

Nezir Zahirovic

Contractor Ruby On Rails (8+ years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles