YoVDO

Making Is A Fast

Offered By: Ruby Central via YouTube

Tags

RubyConf Courses Ruby Courses Assembly Language Courses

Course Description

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

Related Courses

Performance Does - Not - Matter
Ruby 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