Versions 100 to 318
Lines 43–171 at 318 (were 43–54 at 100)
46− const matches = commonLines(a, b);
47− const hunks: Hunk[] = [];
48+
64+
66+export function diffChunkedLines(a: Iterable<() => Iterable<string>>, b: readonly string[]): Hunk[] {
140+
146+ for (let i = 0; i < chunk.length; i++) hash = Math.imul(hash ^ chunk.charCodeAt(i), 16777619) >>> 0;
150+
158+
51− const mi = m < matches.length ? matches[m]! : a.length;
Lines 178–184 at 318 (were 61–67 at 100)
64−function commonLines(a: readonly string[], b: readonly string[]): number[] {
Lines 189–196 at 318 (were 72–79 at 100)
72189
75− const ids = new Map<string, number>();
76− const intern = (s: string): number => {
- MCP
- compare on this site's /mcp
- CLI
- abso diff 100 318 src/engine/text.ts --json
- JSON
- /christopher/abso-core/compare/100..318?file=src%2Fengine%2Ftext.ts&format=json