python-zipstream icon indicating copy to clipboard operation
python-zipstream copied to clipboard

Make chunk size configurable

Open me21 opened this issue 2 years ago • 1 comments

Currently the code reads files by 8 Kb chunks: https://github.com/arjan-s/python-zipstream/blob/961886fbb77530515bf6b3f595dd5fd29c1c1c97/zipstream/init.py#L310

Would it be beneficial to make it configurable?

me21 avatar Apr 20 '23 12:04 me21

To be honest, I don't know. The current code was already there when I forked the repo, so I'm not sure why this size was chosen. If you or anyone else cares about making this configurable, I'd be happy to accept a PR and make a new release for it.

arjan-s avatar Apr 25 '23 11:04 arjan-s