Versions 262 to 263
Lines 54–61 at 263 (were 54–59 at 262)
Lines 124–132 at 263 (were 122–127 at 262)
123125const NO_FILE: FileState = { attrs: NO_ATTRS, complete: true, seq: EMPTY_INTS, vis: EMPTY_INTS, deletedBy: new Map() };
124126
127+/** A count of file uses shared by every view, so a cache can tell which layout across its views was used longest ago. */
129+
Lines 919–928 at 263 (were 914–920 at 262)
917− else this.#files.delete(path);
Lines 1176–1182 at 263 (were 1168–1173 at 262)
11691177 if (this.#relocsN) n += MAP_HEADER_BYTES + (MAP_ENTRY_BYTES + OBJECT_BYTES) * this.#relocsN.size;
Lines 1206–1240 at 263 (were 1197–1204 at 262)
1212+
1215+
1217+ * Each laid-out file: its layout, when it was last used (a count shared by every view) and what it holds, for a
1218+ * cache that trims the least recently used layouts across its views before whole views (views.ts, abso Capacity).
1229+
12031239
- MCP
- compare on this site's /mcp
- CLI
- abso diff 262 263 src/engine/view.ts --json
- JSON
- /christopher/abso-core/compare/262..263?file=src%2Fengine%2Fview.ts&format=json