Changes touching this path
- the deposit ledger is read on its first use instead of at every open, through loot_core::store::shared_file::ReadOnUse, so read-only verbs such as status, log and show neither read nor decode it, a save that never used it skips the file unread and unwritten, and one that read it mid-verb merges under the store lock as before; DagRepo::deposits and record_deposit now return a Result, and a grant with a deposit reads the ledger before it delivers; an open went from 22 to 21 store_file_reads and, over a 1.26 MB ledger of 14,191 rows, from 2,408,756 to 10,624 bytes of peak heap (open plus status from 2,408,756 to 17,611), max RSS of loot status in a lane of this repo went from 70.9-72.5 to 66.1-69.5 MB, and the perf gate reads store_file_reads 21 to 20 with every other counter unmoved; the new pin that a ledger read on use keeps a row another writer saved went red with a blind write of a never-used ledger (0 passed, 1 failed), with every unread save skipped (0 passed, 1 failed) and with a ledger read mid-verb written without the merge (0 passed, 1 failed); the suite is green at 2265 passed, 0 failed, 6 ignored (zssupwqm)
Perf-Baseline: reset the deposit ledger is read on its first use, not at every open
3ad50dbc ·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.