{"version":315,"agent":"capacity","message":"Record scales with its change (abso 714). spellingOf found a new path's twin among the view's known paths, which read every atom's membership and file list: 36,360 of a 1470-shaped record's 53,664 statements on abso's Oct 14 tables. It now looks among the graph's own known paths, kept only where the view has a file, as clashIn does; same answers. View.lineChunks yields the texts the packed layout already holds, read a page at a time, instead of each line's row (11,873 statements); a line too long to pack is still read in chunks. Record on the tables: 53,664 to 8,078 statements; record, publish and shared's files after are identical by hash.","time":1792224422170,"timeIso":"2026-10-17T08:07:02.170Z","changes":2,"change":5520,"files":["src/engine/view.ts","worker/project/spelling.ts"],"draft":null,"diff":[{"path":"src/engine/view.ts","added":8,"removed":1,"diff":"--- a/src/engine/view.ts\n+++ b/src/engine/view.ts\n@@ -1095,7 +1095,14 @@\n \t}\n \n \t*lineChunks(path: string): IterableIterator<() => Iterable<string>> {\n-\t\tfor (const n of this.#file(path).vis) yield () => this.graph.textChunks(n);\n+\t\t// The texts the packed layout already holds, read a page at a time (abso Capacity, 714): a record's diff read each\n+\t\t// line's own row, 11,873 statements for abso's index.ts. Only a line too long to pack is read in chunks.\n+\t\tconst { vis, visText } = this.#file(path);\n+\t\tfor (let i = 0; i < vis.length; i++) {\n+\t\t\tconst packed = visText?.[i];\n+\t\t\tif (packed != null) yield () => [packed];\n+\t\t\telse yield () => this.graph.textChunks(vis[i]!);\n+\t\t}\n \t}\n \n \t/** Visible lines without retaining their text in the view cache. */"},{"path":"worker/project/spelling.ts","added":4,"removed":2,"diff":"--- a/worker/project/spelling.ts\n+++ b/worker/project/spelling.ts\n@@ -73,7 +73,9 @@\n export function spellingOf(view: ReadView, path: string): string {\n \tif (view.hasFile(path)) return path;\n \tconst key = pathKey(path);\n-\t// Known paths first, by key, then only those laid out (#46).\n-\tconst twins = view.knownPaths().filter((p) => pathKey(p) === key && view.hasFile(p));\n+\t// Every path the graph has ever had, by key, then only those the view has a file at (#46). Not the view's known paths\n+\t// (abso Capacity, 714): those read every atom's membership and file list, 36,360 statements of a record on abso, as\n+\t// clashIn found. A path the view never had has no file in it, so the answers are the same.\n+\tconst twins = [...view.graph.knownFiles()].filter((p) => pathKey(p) === key && view.hasFile(p));\n \treturn twins.length === 1 ? twins[0]! : path;\n }"}],"ci":null}