News for hackers. Stuff that matters.
Re:Python – Writing large ZIP archives without memory inflation by mrbonner on Saturday May 16, 2020 @12:24AM (#23200486)
I wrote a servlet that streamed gigabytes of zipped data to HTTP clients in 2005. Something like this was baked into the JDK awhile ago. Why is it an achievement for Python, though?
Re:Python – Writing large ZIP archives without memory inflation by perraco on Saturday May 16, 2020 @12:40AM (#23200541)
I think you can get the size of the zip before creating it. https://github.com/BuzonIO/zipfly/blob/master/zipfly/zipfly....
Re:Python – Writing large ZIP archives without memory inflation by plusperraco on Saturday May 16, 2020 @12:43AM (#23200549)
smart! but always using ZIP_STORED?