Overview
Explore the crucial optimization technique called "splitting" for Ruby blocks in this 28-minute conference talk from RubyConf 2022. Dive into the importance of this optimization, which dates back to early research on dynamic languages, and learn how it creates specialized copies of methods based on different blocks given at call sites. Discover how splitting enables the compilation of methods and blocks together, resulting in superior performance. Gain insights into why this technique is currently utilized by only one Ruby implementation and understand its potential impact on Ruby programming efficiency.
Syllabus
RubyConf 2022: Splitting: the Crucial Optimization for Ruby Blocks by Benoit Daloze
Taught by
Ruby Central