3
0
mirror of https://github.com/larvit/adf-codec.git synced 2026-11-20 23:25:43 +01:00

Answer principles round 1: 0 🔴, 1 🟡; scope the changelog to outside directives, and keep the backtick cursor inside a closure

This commit is contained in:
2026-10-18 10:46:49 +02:00
committed by Lillem4n
parent e12249e593
commit a674df9b75
8 changed files with 64 additions and 47 deletions
+3 -2
View File
@@ -17,8 +17,9 @@
- `losslessMarkdownToAdf` names the CommonMark spelling to write when it refuses a directive whose
node CommonMark spells, such as `[![alt](url)](href)` for a linked `!adf:mediaSingle`.
- Every reader and writer takes time linear in a text holding many unclosed backtick runs, or many
`<!--`, `<?`, `<![CDATA[` or `<!` openers without a terminator, where such a text took time
quadratic in its length: 160k characters of `<?` took seven seconds each way, now 50 ms.
`<!--`, `<?`, `<![CDATA[` or `<!` openers without a terminator, outside a directive's `[content]`,
where such a text took time quadratic in its length: 160k characters of `<?` took seven seconds
each way, now 50 ms.
- The README compares the package with seven other ADF converters, each checked against its
published version.