##// END OF EJS Templates
changegroup: decompress GZ algorithm in larger chunks for better performance
Michael Tjørnemark -
r16557:9dba5536 stable
parent child Browse files
Show More
@@ -118,7 +118,7 b' def decompressor(fh, alg):'
118 118 elif alg == 'GZ':
119 119 def generator(f):
120 120 zd = zlib.decompressobj()
121 for chunk in f:
121 for chunk in util.filechunkiter(f):
122 122 yield zd.decompress(chunk)
123 123 elif alg == 'BZ':
124 124 def generator(f):
General Comments 0
You need to be logged in to leave comments. Login now