3
0
mirror of https://github.com/larvit/adf-codec.git synced 2026-11-19 06:35:44 +01:00

Keep a split tab's leftover columns as a number, so a cut under nested list items never copies the line

This commit is contained in:
2026-10-18 11:51:58 +02:00
committed by Lillem4n
parent ee89efea88
commit a140f5a244
5 changed files with 150 additions and 150 deletions
+1 -2
View File
@@ -827,8 +827,7 @@ A cost fix that changes no behaviour lands on the suite staying green with no fi
changed, and a before-and-after figure in its PR; the gate times nothing. Measured and kept:
`adfDocumentFault`'s shape and depth walks stay two — the parting gives depth its own code — at
52 ms for a 9 MB document the emit takes 314 ms over. The 500-level guard runs after the block walk,
so it doesn't bound the walk's cost. Kept: where an item's width falls inside a tab, each level still
copies the whole line (`todo.md` item 120).
so it doesn't bound the walk's cost.
## Only the hard break holds a raw newline
+4
View File
@@ -432,3 +432,7 @@ Read most (opens and searches):
- `CHANGELOG.md` 1
- `docs/decisions.md` 1
- `package.json` 1
## Reading cost, chunk e2fa4a55bf5d, finished 2026-10-18T09:49:09Z
106412 new input tokens before the first commit.