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

Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This talk explains how Ruby class variables behave and how Ruby 3.1 improved their performance with a cache. It covers the cache design and benchmarks across inheritance chain sizes.

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.