Skip to content
zit Check-in [a93f014321]
Login

Check-in [a93f014321]

Overview
Comment:serve: suppress announced igot with a set, not a scan per artifact (zit#183)

emitReply walked every held rid and, for each, linear-scanned the peer's announced list to suppress a redundant igot — O(held × announced), so a no-op pull where both sides hold everything cost 760 s of server CPU at 1.25M artifacts. Build the announced/requested names into one set per reply and probe it once per rid. ZIT reports the probe count; a test pins it to the held count at two sizes regardless of what the peer announced.

Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: a93f014321810a1037d6d592ea495ff75a00584f39bcd7ff8ef9091c3daebff9
User & Date: dmestas on 2026-09-10 23:42:01.699
Other Links: manifest | tags
Context
2026-09-10
23:56
0.3.11: version bump and release notes check-in: b1dc991ac0 user: dmestas tags: trunk, version-0.3.11
23:42
serve: suppress announced igot with a set, not a scan per artifact (zit#183)

emitReply walked every held rid and, for each, linear-scanned the peer's announced list to suppress a redundant igot — O(held × announced), so a no-op pull where both sides hold everything cost 760 s of server CPU at 1.25M artifacts. Build the announced/requested names into one set per reply and probe it once per rid. ZIT reports the probe count; a test pins it to the held count at two sizes regardless of what the peer announced. check-in: a93f014321 user: dmestas tags: trunk

2026-09-09
22:53
0.3.10: version bump and release notes check-in: 77f89b0bec user: dmestas tags: trunk, version-0.3.10
Changes