Skip to content

Commit 7c98139

Browse files
committed
Scale back to using a smaller buffer using readinto
1 parent 964c30c commit 7c98139

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/isal/igzip.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ def __init__(self, filename=None, mode=None,
169169
if self.mode == READ:
170170
# Having a large input buffer seems to work well for both normal
171171
# gzip and BGZIP files.
172-
raw = _GzipReader(self.fileobj, 512 * 1024)
172+
raw = _GzipReader(self.fileobj, 128 * 1024)
173173
self._buffer = io.BufferedReader(raw)
174174

175175
def __repr__(self):

0 commit comments

Comments
 (0)