Overview
| Comment: | Halve the clone compute by memoising the persist-time plaintext: a bounded PlaintextCache reuses each frame's section 7.7-verify plaintext as the basis for the reverse-deltas built on it, killing the delta-chain reconstruction read-amplification (persist no longer re-inflates + re-applies a basis chain per dependent). libfossil clone: 138.2B -> 64.7B instructions (-53%), wall 13.4s -> 5.7s, RSS 550 -> 371 MB, trunk hash identical, store byte-identical (proven by test). The target's section 7.7 hash is still verified unconditionally after every reconstruction, so a stale basis is caught, never returned. |
|---|---|
| Timelines: | family | ancestors | descendants | both | clone-w3 |
| Files: | files | file ages | folders |
| SHA3-256: |
1bcbee0f86aac90e9dcfd4c795cae139 |
| User & Date: | dmestas on 2026-07-17 11:58:03.257 |
| Other Links: | branch diff | manifest | tags |
Context
|
2026-07-17
| ||
| 12:00 | Merge clone-w3: halve clone compute (-53% instructions, 2.3x faster wall) via a bounded persist-time plaintext memo, byte-identical store + trunk hash preserved. check-in: fbfef2b649 user: dmestas tags: trunk | |
| 11:58 | Halve the clone compute by memoising the persist-time plaintext: a bounded PlaintextCache reuses each frame's section 7.7-verify plaintext as the basis for the reverse-deltas built on it, killing the delta-chain reconstruction read-amplification (persist no longer re-inflates + re-applies a basis chain per dependent). libfossil clone: 138.2B -> 64.7B instructions (-53%), wall 13.4s -> 5.7s, RSS 550 -> 371 MB, trunk hash identical, store byte-identical (proven by test). The target's section 7.7 hash is still verified unconditionally after every reconstruction, so a stale basis is caught, never returned. closed check-in: 1bcbee0f86 user: dmestas tags: clone-w3 | |
| 11:30 | Create new branch named "clone-w3" check-in: 57438f967c user: dmestas tags: clone-w3 | |
Changes
Modified src/logstore.zig
from [4613ee66a2]
to [a2abf89642].
[diff]
Modified src/main.zig
from [a7b9c7e054]
to [6fbd2a305f].
[diff]