Improving CVAR Performance in Ruby 3.1
Offered By: Ruby Central via YouTube
Course Description
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
Related Courses
Performance Does - Not - MatterRuby Central via YouTube Solidarity not Charity and Collective Liberation
Ruby Central via YouTube Eclectics Unite - Leverage Your Diverse Background
Ruby Central via YouTube What Does "High Priority" Mean? The Secret to Happy Queues
Ruby Central via YouTube Splitting - The Crucial Optimization for Ruby Blocks
Ruby Central via YouTube