News for hackers. Stuff that matters.
Re:Python – Writing large ZIP archives without memory inflation by tyingq on Friday May 15, 2020 @07:13PM (#23198598)
"Streaming and seeking are antithetical"

I disagree, for a library creating zip files. It's the logical way to do it. Otherwise, you're slurping potentially big files into memory, or making un-needed copies. I've also written zip library code.

Re:Python – Writing large ZIP archives without memory inflation by shockinglytrue on Friday May 15, 2020 @07:15PM (#23198622)
Well, we're not discussing creating zip files where seeking is an option, we're discussing streaming in the context of the attached link which uses it concretely in terms of writing to a network.
Re:Python – Writing large ZIP archives without memory inflation by tyingq on Friday May 15, 2020 @07:18PM (#23198645)
That explains our disagreement. I read "large zip archives" and assumed there was at least an intermediate file created.