Changes touching this path
- loot tickets and the other ticket folds no longer hold a decoded manifest per change: first_appearances kept every manifest it read in the graph memo because entries_from decodes and keeps a stored delta, which is what held the heap peak; it now walks the ancestry parents first and gives a change its first parent keys as a bitset plus the ticket paths its stored delta upserts, read off the ops through new Manifest::delta_paths and GraphView::delta_paths, and reads a manifest stored whole through new Manifest::paths_under and GraphView::paths_under, which decode a delta and drop it; a change keys are freed once its children have read them, and the old rule that a walk stops past changes holding no wanted key is kept; measured on a cp -c copy of the primary store, tickets --porcelain went from 4.2 s and 845 MB peak RSS (835 MB footprint) to 0.4 s and 92 MB (81 MB), ticket frontier and ticket show --json likewise, and 46 outputs (tickets open and all in porcelain and human form, --map, frontier, show in text and --json for 14 tickets) are byte-identical before and after; the new test over a reopened store with a move went red with the delta upserts ignored (0 passed, 1 failed) and is green; ADR 0108 section 7 says so; the full suite is green with 2232 passed, 0 failed and 6 ignored (oovwuskp)
2ddd0bdf ·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.