Sign in to bookmarkSign In
BlueskyLinkedInRedditFacebookEmailCopy link

Aaron Patterson

Published · Updated

One thing I'm really excited about in Ruby 4.0 is that object allocation is going to get a nice speed boost

Screenshot of a terminal demonstrating object allocation speedup. Ruby 4.0 is about 2x faster

The speedup is even better with the JIT turned on

Screenshot of a terminal demonstrating object allocation speedup with JIT enabled. It's about 3.8x faster

People allocate objects in their apps, right? 😂