Versions 130 to 131
Lines 346–398 at 131 (were 346–351 at 130)
348348
354+ for (const n of graph.orderedChildrenN(parent, after)) if (this.#has(graph.writerSeqOf(n))) return n;
395+
Lines 410–419 at 131 (were 363–379 at 130)
366− // Depth-first, iteratively (a file of n lines can be a chain n deep).
367− const stack: number[] = [];
368− const pushChildren = (code: number): void => {
369− const list = this.#children(code);
370− for (let i = list.length - 1; i >= 0; i--) stack.push(list[i]!.n);
371− };
413+
373− if (start !== undefined) pushChildren(start);
374415 const priority = (a: number, b: number) => graph.lamportOfSeq(a) - graph.lamportOfSeq(b) || a - b;
375− while (stack.length > 0) {
376− const n = stack.pop()!;
Lines 426–431 at 131 (were 386–392 at 130)
389− pushChildren(n);
- MCP
- compare on this site's /mcp
- CLI
- abso diff 130 131 src/engine/view.ts --json
- JSON
- /christopher/abso-core/compare/130..131?file=src%2Fengine%2Fview.ts&format=json