Disk-first reads stop walking the whole history (disk-first 2, stage 1; abso Capacity). Shared's closure is kept on disk per version (spaces.ts indexClosure): the atoms a version needs beyond what it published, as events like membership's, with drops handled; views and Project.#closed trust a set marked closed, and over a closed stored base only a draft's own atoms are walked. A view resolves its moves once in memory (up to MOVED_LINES_KEPT, 20,000 moved lines) instead of again on disk for every file it lays out, and finds lines moved under a node from them. Graph.eachChildN skips the per-line children lookup when the paged child counts say none. On game's export (writer adopted, lock held): shared() went from not finishing in 8 minutes to 9-13 s cold and 0.15-0.25 s warm, 291,000 queries to 57,000; pathsAt(head) 0.1-0.2 s.
CP capacitybegan .
8 files: src/engine/graph.ts, src/engine/state-source.ts, src/engine/test/visible-neighbours.test.ts, src/engine/view.ts, worker/project/project.ts, worker/project/spaces.ts, worker/project/test/stored-closure.test.ts, worker/project/test/stored-membership.test.ts
version 205Disk-first reads stop walking the whole history (disk-first 2, stage 1; abso Capacity). Shared's closure is kept on disk per version (spaces.ts indexClosure): the atoms a version needs beyond what it published, as events like membership's, with drops handled; views and Project.#closed trust a set marked closed, and over a closed stored base only a draft's own atoms are walked. A view resolves its moves once in memory (up to MOVED_LINES_KEPT, 20,000 moved lines) instead of again on disk for every file it lays out, and finds lines moved under a node from them. Graph.eachChildN skips the per-line children lookup when the paged child counts say none. On game's export (writer adopted, lock held): shared() went from not finishing in 8 minutes to 9-13 s cold and 0.15-0.25 s warm, 291,000 queries to 57,000; pathsAt(head) 0.1-0.2 s.
src/engine/graph.ts, src/engine/state-source.ts, src/engine/test/visible-neighbours.test.ts, src/engine/view.ts, worker/project/project.ts, worker/project/spaces.ts, worker/project/test/stored-closure.test.ts, worker/project/test/stored-membership.test.ts- MCP
- change on this site's /mcp
- CLI
- abso review 3464 --json
- JSON
- /christopher/abso-core/changes/3464?format=json