diff options
author | Jean Boussier <[email protected]> | 2025-04-28 10:37:54 +0200 |
---|---|---|
committer | Jean Boussier <[email protected]> | 2025-04-30 23:32:33 +0200 |
commit | c65991978baac17fbfd3bc09e58a35bb2e5f769e (patch) | |
tree | d8800d920172d9fcc23bfe795a991b7c49218b42 /test/-ext-/exception/test_data_error.rb | |
parent | f55138c9e7b6c62847eb4cefbfb452233615b59f (diff) |
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.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/13191
Diffstat (limited to 'test/-ext-/exception/test_data_error.rb')
0 files changed, 0 insertions, 0 deletions