Skip to content
zit Check-in [f34bbc730a]
Login

Check-in [f34bbc730a]

Overview
Comment:status/diff: stat memo skips re-hashing unchanged files

Record (mtime, size, hash) per tracked file in .zit-cache/treestat after each scan; a matching stat answers without reading. Fossil's vfile heuristic (D. Richard Hipp), race window included. Advisory tier rules: malformed parses as empty, deletion costs a re-hash, never an answer.

Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: f34bbc730a2bf71b9c519ee1df95a9115d76acd45d4c20e59f168045443eead8
User & Date: dmestas on 2026-08-21 22:51:48.651
Other Links: manifest | tags
Context
2026-08-22
02:27
sync client: log-backed holdings replace the whole-store snapshot

pull/push/sync loaded every artifact into memory before the first wire byte -- 3.7GB resident on a 148k-artifact store, OOM beyond it (#119). The client now sits on LogIndexStore as serve does: names, held/phantom, shun mask, and hash-policy off the frame index, content materialized per-rid on demand, received artifacts in the appendix. No-op pull on tk: 3.7GB -> 88MB, 64s -> 13s. check-in: 46d49702f7 user: dmestas tags: trunk

2026-08-21
22:51
status/diff: stat memo skips re-hashing unchanged files

Record (mtime, size, hash) per tracked file in .zit-cache/treestat after each scan; a matching stat answers without reading. Fossil's vfile heuristic (D. Richard Hipp), race window included. Advisory tier rules: malformed parses as empty, deletion costs a re-hash, never an answer. check-in: f34bbc730a user: dmestas tags: trunk

21:08
merge materialize-perf into trunk (#114)

Both sides had made the repository-tier setting read adopt the scan index (#112); trunk's write-on-miss refresh is kept inside the shared helper the autosync read now also uses. check-in: 6f540c5d77 user: dmestas tags: trunk

Changes