Skip to content

Commit a2075d5

Browse files
committed
Use a larger buffer size for reading in decompressed data
1 parent aa79253 commit a2075d5

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
@@ -166,7 +166,7 @@ def __init__(self, filename=None, mode=None,
166166
0)
167167
if self.mode == gzip.READ:
168168
raw = _IGzipReader(self.fileobj)
169-
self._buffer = io.BufferedReader(raw)
169+
self._buffer = io.BufferedReader(raw, buffer_size=READ_BUFFER_SIZE)
170170

171171
def __repr__(self):
172172
s = repr(self.fileobj)

0 commit comments

Comments
 (0)