Performance Improvements in Ruby 2.5

19-Nov-2017 2559

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

Use coupon code:

RUBYONRAILS

to get 30% discount on our bundle!
Prepare for your next tech interview with our comprehensive collection of programming interview guides. Covering JavaScript, Ruby on Rails, React, and Python, these highly-rated books offer thousands of essential questions and answers to boost your interview success. Buy our 'Ultimate Job Interview Preparation eBook Bundle' featuring 2200+ questions across multiple languages. Ultimate Job Interview Preparation eBook Bundle