AI summary not available
This video doesn't have a transcript yet
Transcript not available
This video doesn't have captions
Start a conversation
Ask anything about RubyConf 2021 - Improving CVAR performance in Ruby 3.1 by Eileen M Uchitelle
AI responses may be inaccurate. Verify important information.
RubyConf 2021 - Improving CVAR performance in Ruby 3.1 by Eileen M Uchitelle
Improving CVAR performance in Ruby 3.1 by Eileen M Uchitelle Have you ever wondered how class variables (CVARs) in Ruby work? Would you be surprised to learn that their performance becomes increasingly worse as the inheritance chain grows? I’m excited to share that in Ruby 3.1 we fixed the performance of CVARs. In this talk we'll look at the language design of class variables, learn about how they work, and, deep dive into how we improved their performance in Ruby 3.1 by adding a cache! We'll look at the cache design and real-world benchmarks showing how much faster they are regardless of the size of the inheritance chain.