mirror of
https://github.com/ruby/ruby.git
synced 2026-01-27 04:24:23 +00:00
If the shape has only one child, we check it lock-free without compromising thread safety. I haven't computed hard data as to how often that it the case, but we can assume that it's not too rare for shapes to have a single child that is often requested, typically when freezing and object.