Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Improving CVAR Performance in Ruby 3.1

Ruby Central via YouTube

Overview

Explore a conference talk that delves into the performance improvements of class variables (CVARs) in Ruby 3.1. Learn about the language design of class variables, their functionality, and the implementation of a cache to enhance their performance. Discover how the inheritance chain affects CVAR performance and examine real-world benchmarks demonstrating significant speed improvements. Gain insights into the tradeoffs of open-source software changes, including increased complexity and maintenance burden. Understand the negotiation process in OSS development and the widespread benefits of upgrading to Ruby 3.1 for improved CVAR performance across all applications.

Syllabus

Intro
Thank You RubyConf organizers, staff, & attendees
Core Team RAILS Member
Principal Software Engineer at GitHub
Improving CVAR performance in Ruby 3.1
How does CVAR inheritance work?
Understanding CVAR Overtaken
The deeper the inheritance chain the slower CVAR access is
Building a cache for CVARS
Benchmarking performance
Every OSS change has tradeoffs
Increased complexity
Encourages more usage
Tradeoffs Increased maintenance burden
Every OSS change is a negotiation
CVARs aren't going anywhere
Demonstrate real-world improvements
Improve all applications by upgrading
benefits everyone
benefits you
Let's go make Ruby better, together

Taught by

Ruby Central

Reviews

Start your review of Improving CVAR Performance in Ruby 3.1

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.