From 1ece265ea4ba84671f9a781bc17bd702084d424a Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Fri, 9 Oct 2026 13:16:38 +0200 Subject: [PATCH] Record the reading cost --- docs/reading-cost.md | 13 +++++++++++++ todo.md | 11 ++++++++++- 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/docs/reading-cost.md b/docs/reading-cost.md index 20db008..c8a83b2 100644 --- a/docs/reading-cost.md +++ b/docs/reading-cost.md @@ -151,3 +151,16 @@ Read most (opens and searches): - `todo.md` 4 - `docs/decisions.md` 3 - `CHANGELOG.md` 2 + +## Reading cost, chunk 5c2c2691022d, finished 2026-10-09T11:08:17Z + +45283 new input tokens before the first commit. + +Read most (opens and searches): + +- `README.md` 2 +- `package.json` 2 +- `CHANGELOG.md` 1 +- `ci.sh` 1 +- `docs/decisions.md` 1 +- `todo.md` 1 diff --git a/todo.md b/todo.md index de235be..166422b 100644 --- a/todo.md +++ b/todo.md @@ -6,7 +6,7 @@ `Bar = 9` -`Next ID = 92` +`Next ID = 93` | Goal | W | |---|---| @@ -32,6 +32,7 @@ | 60 | 0.2.0 | decision | **Collect the questions `parse/` asks `emit/` into one named module.** | 3 | 4 | 2 | 6 | 2 | 10.7 | | 59 | 0.2.0 | decision | **Group the directive grammar into `src/markdown/directive/`, move `Read` to `result.ts`, and move `Flavour` and `flavourClaims` to `markdown/flavour.ts`.** | 3 | 5 | 2 | 6 | 2 | 10.4 | | 62 | 0.2.0 | decision | **Move the portable flavour's reading out of `parse/` and its writing out of `emit/` into `markdown/portable/`, so `emit/` no longer imports `portable/`.** | 4 | 5 | 2 | 6 | 2 | 9.4 | +| 92 | 0.2.0 | | **Lower the reading cost of the files a chunk reads most before its first commit.** | 2 | 4 | 2 | 4 | 1 | 9.0 | | 89 | 0.2.1 | | **Build a `date`, `emoji`, `inlineCard`, `mention` or `status` holding no mark Atlassian's schema withholds from it, in every reader.** | 4 | 4 | 5 | 6 | 4 | 13.0 | | 33 | 0.2.1 | defect | **Emit a line in time linear in its mark runs, in `adfToLosslessMarkdown` and `adfToPortableMarkdown`.** | 4 | 5 | 6 | 9 | 9 | 8.7 | | 7 | 0.3.0 | decision | **Ship HTML: `adfToHtml`, `htmlToAdf`, and markdown to and from HTML composed through ADF, each call named by its flavour.** | 6 | 9 | 9 | 9 | 2, 4 | 25.8 | @@ -120,6 +121,14 @@ Writing: `spellPortableBlock`, `quotedUnder`, `tryTaskList` and `taskBlocks` in `flavourClaims`. Every comprehension reader on 2026-10-03 named the portable flavour's spread across three directories. +### 92. Lower the reading cost of the files a chunk reads most before its first commit. + +The last five chunks' median is 97329 new input tokens before their first commit, the five before +them 66995. Read most over the last five, opens and searches: `README.md` 26, `docs/decisions.md` +23, `src/markdown/parse/markdown-to-adf.test.ts` 19, `todo.md` 17, `spec/flavour.md` 13, +`CHANGELOG.md` 10, `MIGRATION.md` 8, `src/markdown/parse/markdown-to-adf.ts` 7, +`src/conformance/commonmark-spec.test.ts` 6, `corpus/commonmark-spec/exceptions.json` 5. + ### 89. Build a `date`, `emoji`, `inlineCard`, `mention` or `status` holding no mark Atlassian's schema withholds from it, in every reader. `*!adf:mention[@a]{id=…}*` and `[!adf:status[Done]{…}](/u)` build a node holding `em` or `link`.