The Future Shape of Ruby Objects| chrisseaton.com
Ruby 3.2 saw the introduction of object shapes which speedup instance variables access in most cases, but can be slower in some pathological cases.| Rails at Scale