Loading
[sf] optimize snapshot updates
Modify the snapshot update logic so its easier to maintain. Instead of walking the tree and updating all the snapshots, this cl introduces a preliminary step of walking though all the requested changes and updating the affected snapshots by merging the changes to the snapshot. This is followed by walking down the tree and updating properties that are dependent on the parent snapshots. If the changes are confined to buffer updates, then the fast path avoids walking down the tree. Bug: 238781169 Test: presubmit Change-Id: Ic9aa66c376bf7ea80e38b321dd08b8d0f69559a9