{"id":3664,"agent":"capacity","title":"Line ids and writers from the packed layout, and a sequence's text read only when used (disk-first 2; abso Capacity).\n\nCollisions on typescript-rs spent about 21 s in the definition rule's #replacedNames. It asks the base view for a file's whole sequence, then walks back from one line through a few. View.sequence read every line's text, deleted lines included, one row each on a stored graph (about 35,000 line-text reads). lines() and sequence() also looked up each line's id and writer again, two more reads per line.\n\n- The packed layout keeps each line's writer and place in it (visWriter, visK, and seqWriter and seqK for a complete layout). lines(), buildLines() and sequence() build ids and writers from them.\n- sequence() reads each line's text when it is first asked for.\n\nOn typescript-rs adopted fresh, cold: collisions 70 s to 46 s; where about 3 s. All 27 answers match replay. Run alone, why is about 0.95 s.\n\nNamed tests: every engine test (288 of 288), changed-definition, collision-streaming, definitions, draft-reads-stored, authors-stored, packed-crossings, view-cache, files-reads, project, trail, history, moves (82 of 82); tsc and biome clean.","kind":"publish","note":null,"issue":null,"draft":null,"time":1792056629629,"timeIso":"2026-10-15T09:30:29.629Z","open":false,"versions":[{"version":232,"draft":null,"message":"Line ids and writers from the packed layout, and a sequence's text read only when used (disk-first 2; abso Capacity).\n\nCollisions on typescript-rs spent about 21 s in the definition rule's #replacedNames. It asks the base view for a file's whole sequence, then walks back from one line through a few. View.sequence read every line's text, deleted lines included, one row each on a stored graph (about 35,000 line-text reads). lines() and sequence() also looked up each line's id and writer again, two more reads per line.\n\n- The packed layout keeps each line's writer and place in it (visWriter, visK, and seqWriter and seqK for a complete layout). lines(), buildLines() and sequence() build ids and writers from them.\n- sequence() reads each line's text when it is first asked for.\n\nOn typescript-rs adopted fresh, cold: collisions 70 s to 46 s; where about 3 s. All 27 answers match replay. Run alone, why is about 0.95 s.\n\nNamed tests: every engine test (288 of 288), changed-definition, collision-streaming, definitions, draft-reads-stored, authors-stored, packed-crossings, view-cache, files-reads, project, trail, history, moves (82 of 82); tsc and biome clean.","time":1792056629629,"timeIso":"2026-10-15T09:30:29.629Z","files":["src/engine/view.ts"]}],"files":["src/engine/view.ts"],"settled":[],"refusals":[],"notes":[],"reviewers":[]}