Changes touching this path
- a save skips the grant log, unread and unwritten, while no row of the handle has changed since its load decoded the file and the file still has the stamp that load read (store::FileSeen, now shared with GraphSeen), and otherwise merges the file under the handle rows with Manifest::merge_under instead of cloning the whole log first; the log holds each oid rows in a Vec sorted by grantee instead of an inner BTreeMap, encoded byte-identically (the golden pins pass, and a forced merge over the 13,961-row log of this repo rewrote nothing); measured on a clone of the primary store, the decoded log went from 27.69 to 3.60 MB of heap, an open from 49.09 to 24.99 MB, and a save from a 56.99 MB heap peak, 242,420 allocations and 7 store_file_reads to 9.78 MB, 126,048 and 6, and max RSS over three interleaved rounds went from 215-224 to 127-135 MB for describe, 224-225 to 131-133 MB for new and 104-105 to 79-80 MB for status; the new pin that a save keeps its own grants and one another handle saved after its load (ADR 0034) went red with the save ignoring its own edits (0 passed, 1 failed) and with a blind write of the handle log (0 passed, 1 failed), and the merge table went red with merge_under preferring the file row on a tie (2 passed, 1 failed); the perf gate preview says no move; the full suite is green with 2232 passed and 0 failed (oouoxont)
90c66a40 ·dbf3dbe6…
Renames are not followed. loot's tree maps a path to an address, so a rename is a delete and an add. This list is the history of the name, not of the bytes.