This is a followup to my RubyKaigi 2024 presentation, "Reducing Implicit Allocations During Method Calling", discussing an entirely new set of allocation reduction optimizations included in Ruby 3.4. This presentation will describe allocation regressions that occurred while developing these optimizations, and the allocation test suite added to prevent future regressions. It will also discuss other bugs that were found as a result of this optimization work, and how they were fixed. Finally, it will discuss the implicit allocations that remain, and why they would be challenging to address.
Schedule

Jeremy Evans is a Ruby committer who focuses on fixing bugs in Ruby. He the lead developer of the Sequel database library, the Roda web toolkit, the Rodauth authentication framework, and many other Ruby libraries. He is the author of "Polished Ruby Programming". He is the maintainer of Ruby ports for the OpenBSD operating system. He is a Principal Software Engineer at Ubicloud.