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

YouTube

Making Is A Fast

Ruby Central via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the optimization journey of Ruby's `is_a?` method in this 27-minute conference talk from RubyConf Mini 2022. Discover how this seemingly simple method can become a surprising performance bottleneck in Ruby applications. Learn about the various ways `is_a?` is used, including case statements, rescue statements, protected methods, and `Module#===`. Follow the speaker's process of identifying the bottleneck in production, implementing optimizations, and resolving bugs. Gain insights into the transformation of `is_a?` into constant-time operation and its implementation in assembly language for YJIT. Understand the performance improvements achieved in Ruby 3.2 and how these optimizations can benefit your Ruby projects.

Syllabus

RubyConf Mini 2022: Making .is_a? Fast by John Hawthorn

Taught by

Ruby Central

Reviews

Start your review of Making Is A Fast

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.