Skip to content
zit Check-in [8776c0e5bb]
Login

Check-in [8776c0e5bb]

Overview
Comment:landing: stop parsing every blob to find the records

The fold called artifact.parse on every artifact in the store and let it fail on the content blobs, which are most of a real store's bytes -- and a parse attempt pays a whole-bytes Z checksum before rejecting one. It now applies the reject-fast pre-screen frames --structural already uses, and reuses one plaintext buffer instead of allocating per artifact.

zit landing ls, release build: quarry 1.06s -> 0.15s, zit 2.19s -> 0.31s, libfossil 8.49s -> 0.91s. A forum-shaped store is unchanged, because there is nothing to reject there; it was never the slow case.

The screen only rejects. Every accept still takes the full parse, so nothing the fold would refuse can be admitted by being shaped like a card.

Timelines: family | ancestors | descendants | both | landing-scan
Files: files | file ages | folders
SHA3-256: 8776c0e5bb68049ba3724f28d1d2b25cb07e9ad5c120f45c6576b76fa8dec724
User & Date: dmestas on 2026-08-23 22:36:21.601
Other Links: branch diff | manifest | tags
Context
2026-08-23
22:46
merge landing-scan: the fold stops parsing every blob check-in: 0ef543c27a user: dmestas tags: trunk
22:36
landing: stop parsing every blob to find the records

The fold called artifact.parse on every artifact in the store and let it fail on the content blobs, which are most of a real store's bytes -- and a parse attempt pays a whole-bytes Z checksum before rejecting one. It now applies the reject-fast pre-screen frames --structural already uses, and reuses one plaintext buffer instead of allocating per artifact.

zit landing ls, release build: quarry 1.06s -> 0.15s, zit 2.19s -> 0.31s, libfossil 8.49s -> 0.91s. A forum-shaped store is unchanged, because there is nothing to reject there; it was never the slow case.

The screen only rejects. Every accept still takes the full parse, so nothing the fold would refuse can be admitted by being shaped like a card. closed check-in: 8776c0e5bb user: dmestas tags: landing-scan

21:50
merge landing-show: the check-ins being proposed, and the thread check-in: 54badbba6a user: dmestas tags: trunk
Changes