summaryrefslogtreecommitdiff
path: root/include/ruby/internal/iterator.h
diff options
context:
space:
mode:
authorJean Boussier <[email protected]>2025-06-09 10:37:28 +0200
committerJean Boussier <[email protected]>2025-06-09 16:38:29 +0200
commitf9966b9b76706705202f83112e0e2dea0237aea1 (patch)
tree6519f4385382e7fb33e71bb5c36eb448b2bb0d4e /include/ruby/internal/iterator.h
parente210a70e9a5eb891fe8a999f2f9eb942d295a078 (diff)
Get rid of `gen_fields_tbl.fields_count`HEADmaster
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