Overview
Explore the crucial optimization technique for Ruby blocks known as splitting in this 28-minute conference talk from RubyConf 2022. Dive into the world of Ruby syntax and discover how this optimization, dating back to early research on dynamic languages, can significantly enhance performance. Learn how splitting creates specialized copies of methods for different blocks given at various call sites, enabling the compilation of methods and blocks together for optimal efficiency. Gain insights into why this technique is essential for unlocking the best performance in Ruby and why it's currently implemented in only one Ruby implementation.
Syllabus
RubyConf 2022: Splitting: the Crucial Optimization for Ruby Blocks by Benoit Daloze
Taught by
Confreaks