News for hackers. Stuff that matters.
Re:Python – Writing large ZIP archives without memory inflation by stefan_ on Saturday November 20, 2021 @09:10PM (#29293567)
You would think that but it is Python so the likelihood is high that the magic convenient one liner is doing the equivalent of reading the file into a huge buffer and compressing that huge buffer at once.
Re:Python – Writing large ZIP archives without memory inflation by userbinator on Saturday November 20, 2021 @11:44PM (#29294247)
I've seen this (antipattern?) in a lot of other HLLs too. People just don't seem to have a good grasp of the difference between the filesystem and memory, especially if all they've ever used and started with are HLLs.