From c0d93e4db39a88f0803a5d353f9decf5baaeb55a Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Fri, 9 Oct 2026 18:53:29 +0200 Subject: [PATCH] Answer product-owner round 1: the changelog line says what a long run cost before, and item 33 states its cost at this commit --- CHANGELOG.md | 3 ++- todo.md | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 19a4293..421e9cb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,7 +3,8 @@ ## Unreleased - `adfToLosslessMarkdown` and `adfToPortableMarkdown` write text holding a long run of `*`, `_`, `~` - or backticks, or a heading ending in a long run of `#`, in time linear in the run. + or backticks, or a heading ending in a long run of `#`, in time linear in the run, where a run of + 20000 `*` took seconds. - **Breaking:** a list whose bullet character or ordered delimiter changes reads as two lists, as CommonMark reads it: `- a` then `* b`, `1. a` then `1) b`. `adfToLosslessMarkdown` gives a list right after one of its kind the other marker, `* ` or `1)`, in place of the `::listBreak` diff --git a/todo.md b/todo.md index 588d27e..d386347 100644 --- a/todo.md +++ b/todo.md @@ -145,7 +145,7 @@ them 68188. Read most over the last five, opens and searches: `README.md` 32, `d ### 33. Emit a line in time linear in its mark runs, in `adfToLosslessMarkdown` and `adfToPortableMarkdown`. -`adfToLosslessMarkdown` spends 23 s on one paragraph of 2000 × `un` plus `**-r**`: each run its +`adfToLosslessMarkdown` spends 28 s on one paragraph of 2000 × `un` plus `**-r**`: each run its flanking cannot spell re-emits the whole line before riding the carry, quadratic in the runs, and the portable reduction's `spellableLine` drops one mark per re-emit the same way. An inline node whose attributes no spelling writes re-emits the line the same way before riding the carry. Make all