collectBatchFlushData now sizes the file-chunk and chunk-file slices to the number of pending files, a safe lower bound since every file contributes at least one mapping of each kind. The chunker test sizes its reconstruction buffer to the input length, which is exactly what it ends up holding. Append semantics and results are unchanged.
57 KiB
57 KiB