Now that there no longer multiple shape roots, all we need to do
when moving an object from one slot to the other is to update the heap_index part of the shape_id.
Since this never need to create a shape transition, it will always
work and never result in a complex shape.
Simplify
rb_gc_rebuild_shape
Now that there no longer multiple shape roots, all we need to do
when moving an object from one slot to the other is to update the
heap_index
part of the shape_id.Since this never need to create a shape transition, it will always
work and never result in a complex shape.