diff options
author | Jean Boussier <[email protected]> | 2025-06-09 10:37:28 +0200 |
---|---|---|
committer | Jean Boussier <[email protected]> | 2025-06-09 16:38:29 +0200 |
commit | f9966b9b76706705202f83112e0e2dea0237aea1 (patch) | |
tree | 6519f4385382e7fb33e71bb5c36eb448b2bb0d4e /include/ruby/internal/iterator.h | |
parent | e210a70e9a5eb891fe8a999f2f9eb942d295a078 (diff) |
This data is redundant because the shape already contains both the
length and capacity of the object's fields.
So it both waste space and create the possibility of a desync between
the two.
We also do not need to initialize everything to Qundef, this seem
to be a left-over from pre-shape instance variables.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/13561
Diffstat (limited to 'include/ruby/internal/iterator.h')
0 files changed, 0 insertions, 0 deletions