Skip to content
zit Check-in [31e140ddbc]
Login

Check-in [31e140ddbc]

Overview
Comment:Document that a cache hit skips whole-log integrity, so interior bitrot preserving size and tail is served until a rebuild — deleting .zit-cache restores full detection.
Timelines: family | ancestors | descendants | both | cache
Files: files | file ages | folders
SHA3-256: 31e140ddbc6a0d6c322fb565c47e5845e25cc103adaf2779e8b001c6bdeacfde
User & Date: dmestas on 2026-07-16 09:38:25.055
Other Links: branch diff | manifest | tags
Context
2026-07-16
09:40
Add a persisted derivation cache so repo-state verbs skip re-deriving all of history: cache the crosslink inputs keyed on the append-only log's tail and replay them on a hit, cutting a warm 'zit leaves' on a 130k-artifact repo from ~103s to 0.21s with byte-identical output and a full rebuild on any log change or corruption. check-in: e1f401fa0d user: dmestas tags: trunk
09:38
Document that a cache hit skips whole-log integrity, so interior bitrot preserving size and tail is served until a rebuild — deleting .zit-cache restores full detection. closed check-in: 31e140ddbc user: dmestas tags: cache
09:28
Memoize the derived repo view in a disposable .zit-cache sidecar so read-only verbs answer sub-second at fossil scale instead of rescanning the whole log on every invocation. check-in: 08504d5f5d user: dmestas tags: cache
Changes