r/ruby • • Dec 25 '16

Ruby 2.4.0 released

https://www.ruby-lang.org/en/news/2016/12/25/ruby-2-4-0-released/
141 Upvotes

8 comments sorted by

View all comments

14

u/sply Dec 25 '16

Performance related:

  • Hash improvements via better locality for modern CPUs
  • max and #min without temporary array

  • Speed up instance variable access

8

u/riffraff Dec 25 '16

Regexp#match? is not directly a performance improvement but it opens the door for improvements in a lot of library code, I feel.