reset method
void
reset()
Drops every array and zeroes the roots stamp. Called from
TreeController._clear (which covers VisibleOrderBuffer.reset's
in-place roots.clear(), a raw-list write outside the mutating
methods) and transitively from dispose. The generation is NOT
rewound: monotonicity plus zero-filled regrowth is what makes stale
slots unforgeable.
Implementation
void reset() {
_parentStamp = <int>[];
_slotStamp = <int>[];
_liveIndex = Int32List(0);
_rootsStamp = 0;
}