Keep the Lambda view mounted, cache its rendered comparison by input text, and render collapsed context only when expanded. Preserve expansion for unchanged regions across edits.
Count shared edges once in the line budget, prioritize atoms in token alignment, and admit whole changed blocks before charging the shared token budget. Cover the algorithm and rendering regressions, and document the API v9 capture boundary.
8 files ยท +296 โ69 ยท docs 1 ยท playground 7
| M | CONTRIBUTING.md | +12 | โ0 |
| M | packages/dev-playground/package.json | +1 | โ1 |
| M | packages/dev-playground/scripts/lambda-diff.test.mjs | +129 | โ1 |
| A | packages/dev-playground/scripts/runtime-loader.mjs | +10 | โ0 |
| M | packages/dev-playground/src/LambdaDiff.res | +11 | โ3 |
| M | packages/dev-playground/src/LambdaInlineDiff.res | +20 | โ11 |
| M | packages/dev-playground/src/LambdaView.res | +93 | โ36 |
| M | packages/dev-playground/src/Main.res | +20 | โ17 |