Ruby Core Updates: ZJIT Performance Improvements and Method Equality Fix

Ruby Core merged seven pull requests focused on ZJIT JIT compiler optimizations and a critical UnboundMethod equality bug fix. The updates include significant performance improvements to type inference and better test infrastructure.

Duration: PT1M52S

Episode overview

This episode is a short developer briefing from Ruby Core Updates.

It explains recent repository work in plain language.

  • Show: Ruby Core Updates
  • Published: 2026-02-11T11:03:54Z
  • Audio duration: PT1M52S

Transcript excerpt

This excerpt keeps the crawler page concise. Listen to the episode or use the RSS feed for the full update.

Good morning, this is Ruby Core Updates for February 11th, 2026.

The Ruby team merged seven pull requests yesterday, with major focus on ZJIT improvements and method handling fixes.

Max Bernstein merged a worklist algorithm optimization for ZJIT's type inference system. The change replaces fixed-point iteration with a more efficient approach that only processes blocks when their incoming types actually change, resulting in an 11% compile time improvement on the lobsters benchmark.

Takashi Kokubun merged a substantial refactor moving ZJIT code tests from Ruby to Rust. This migration improves test parallelization and adds automatic snapshot updates when tested behavior changes, while moving over 4,600 lines of test code.

Mike Dalessio merged a fix for UnboundMethod equality comparison when dealing with included and extended modules. The bug caused UnboundMethod#== to incorrectly return false when comparing methods from mixed-in modules, which has been resolved by properly handling ICLASS defined_class resolution.

Randy Stauner merged improvements to prevent runtime exceptions from RubyVM::ZJIT.stats_string when ZJIT isn't enabled or extended stats aren't available.

Nearby episodes from Ruby Core Updates

  1. ZJIT Improvements and Documentation Fixes
  2. YJIT Memory Safety and GC Improvements
  3. Prism Integration and Performance Enhancements
  4. Major Performance and API Enhancements
  5. Documentation Fixes and JSON Performance Improvements
  6. Test Reliability and Performance Fixes
  7. Test Stability and Documentation Improvements
  8. ZJIT Performance Enhancements and GC Improvements