Versions 314 to 318
Lines 68–74 at 318 (were 68–74 at 314)
71− for (const id of orderedClaimants(g, streams)) if (against.has(id)) theirs.push(id);
Lines 136–142 at 318 (were 136–142 at 314)
136136
139−function* orderedClaimants(g: Graph, streams: IterableIterator<AtomId>[]): IterableIterator<AtomId> {
Lines 152–162 at 318 (were 152–160 at 314)
155+ // Each claimant's seq from its id, as the graph reads it (abso 738): loading the stored atom for it read a row a
157− if (!next.done) push({ id: next.value, seq: g.atom(next.value).seq, stream });
Lines 192–199 at 318 (were 190–197 at 314)
193− const x = g.atom(a.value).seq;
194− const y = g.atom(b.value).seq;
Lines 125–135 at 318 (were 125–130 at 314)
129+ * The files the newer work changed, when the caller knows them without placing its lines (land and draft-state:
130+ * shared's kept version files, abso 738); undefined, or one that answers undefined, and they're worked out here.
Lines 158–168 at 318 (were 153–161 at 314)
153158 // Only a file the newer work touched can hold a changed definition, and only one a use means can matter: just those
154159 // files are laid out, before and with the newer work (abso 738). Laying out every file the newer work touched cost
156− const touched = kept
157− ? kept.parts.get(`touched ${kept.changed}`, () => this.#touched(newer, baseView, nowOf()), filesBytes)
158− : this.#touchedFor(newer, baseView, nowOf());
164+ ? kept.parts.get(`touched ${kept.changed}`, () => this.#touched(newer, baseView, nowOf()), filesBytes)
Lines 29–36 at 318 (were 29–34 at 314)
2929 pairs(draft: readonly AtomId[], against: ReadonlySet<AtomId>, settled: ReadonlySet<AtomId>): Pair[];
32+ /** The files a space's versions after `from`, up to `to`, changed, when each one's are kept; else undefined. */
Lines 95–118 at 318 (were 93–103 at 314)
9597 const describeLand = (p: Pair): Collision => host.describe(p, draftView, host.sharedView(), SHARED);
98+ // Where shared changed since the draft's base, from the files each version since kept as it landed (abso 738): working
99+ // it out from the newer atoms placed every line they wrote or deleted, about 30% of a warm draft-state read.
100− .collisions(own, draftView, host.viewAt(shared, sharedBaseOf(space)), host.sharedView(), newer, SHARED)
Lines 90–110 at 318 (were 90–95 at 314)
9292
94+ * The files the versions after `from`, up to `to`, changed, from each version's kept row (abso 738): undefined when one
95+ * has none, and the caller works them out from the atoms. Every file whose text differs between the two versions is
107+
93108 /** keptPaths as a set, kept for the newest version asked: never changed once made, so a view can hold it. */
Lines 2499–2507 at 318 (were 2499–2504 at 314)
25002500 describe: (pair, yoursView, theirsView, spaceName) => this.#describe(pair, yoursView, theirsView, spaceName),
2502+ // Only from a stored writer's kept rows, as keptPaths: a project in memory keeps none, and works them out.
Lines 3218–3236 at 318 (were 3215–3229 at 314)
3222− this.#viewAt(space, version ?? last(space)),
3231+ // Where the space changed since the agent's base, from each version's kept files on a stored writer, as land's
3232+ // (abso 714): walking every newer atom for them was 6.5 s of a publish 770 versions behind on abso.
3233+ () => (this.#writerStorage ? this.#paths.keptChangesSince(space, agent.base, to) : undefined),
Lines 73–81 at 318 (were 73–79 at 314)
76− // Known paths first, by key, then only those laid out (#46).
77− const twins = view.knownPaths().filter((p) => pathKey(p) === key && view.hasFile(p));
76+ // 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
77+ // (abso Capacity, 714): those read every atom's membership and file list, 36,360 statements of a record on abso, as
79+ const twins = [...view.graph.knownFiles()].filter((p) => pathKey(p) === key && view.hasFile(p));
- MCP
- compare on this site's /mcp
- CLI
- abso diff 314 318 worker --json
- JSON
- /christopher/abso-core/compare/314..318?file=worker&format=json