You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Multi-gigabyte files keep memory bounded on open and save #237
The cross-reference keeps a compact entry representation (about 16 bytes per entry instead of 200–300), and a full save from a file or stream source copies unchanged stream data through bounded windows instead of buffering each stream whole. The large-file test measures process memory, as #45's text asked.
Spec clauses
ISO 32000-2 §7.5.4, §7.5.8; spec story 7
Acceptance criteria
A generated file with five million objects opens with cross-reference memory under a per-entry bound the PR states (recommendation: 24 bytes), measured with the allocation helper.
Opening, walking and saving unchanged a generated 4 GB file from a seekable stream keeps process private bytes under a documented bound.
Saved output for every minimal-corpus file is byte-identical to the current writer's.
The cross-reference lookup and save benchmarks show no time regression; the Phase 1 baseline note is updated.
Activity
michaelstonis commentedon Nov 14, 2026
Merged into spec/33-broadside-v1 via #534.