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:
+1
-2
@@ -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
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user