diff options
author | Aaron Patterson <tenderlove@ruby-lang.org> | 2022-10-15 09:37:44 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2022-10-15 10:44:10 -0700 |
commit | f0654b1027d2f24cbb6e3cfb0c5946b70f06739b (patch) | |
tree | e49476db3318c77362e7ad21433df7832f0ede95 /gems/bundled_gems | |
parent | 8d20632df849833d8a98f3d6f5e61f32eefa0fa6 (diff) | |
download | ruby-f0654b1027d2f24cbb6e3cfb0c5946b70f06739b.tar.gz |
More precisely iterate over Object instance variables
Shapes provides us with an (almost) exact count of instance variables.
We only need to check for Qundef when an IV has been "undefined"
Prefer to use ROBJECT_IV_COUNT when iterating IVs
Diffstat (limited to 'gems/bundled_gems')
0 files changed, 0 insertions, 0 deletions