diff options
author | Aaron Patterson <tenderlove@ruby-lang.org> | 2023-03-13 15:07:09 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2023-03-22 12:50:42 -0700 |
commit | 7c307e0379e3c6c07d821b863fefbdfdfc84c4f1 (patch) | |
tree | 29a841064e9d037c3a688dea473030772011f4a1 /spec/bundler | |
parent | 0519741702a016e3e44554bb906de0d18c719ead (diff) |
Lazily allocate id tables for children
This patch lazily allocates id tables for shape children. If a shape
has only one single child, it tags the child with a bit. When we read
children, if the id table has the bit set, we know it's a single child.
If we need to add more children, then we create a new table and evacuate
the child to the new table.
Co-Authored-By: Matt Valentine-House <matt@eightbitraptor.com>
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/7512
Diffstat (limited to 'spec/bundler')
0 files changed, 0 insertions, 0 deletions