SIGN IN SIGN UP

bpo-41486: Faster bz2/lzma/zlib via new output buffering (GH-21740)

Faster bz2/lzma/zlib via new output buffering.
Also adds .readall() function to _compression.DecompressReader class
to take best advantage of this in the consume-all-output at once scenario.

Often a 5-20% speedup in common scenarios due to less data copying.

Contributed by Ma Lin.
M
Ma Lin committed
f9bedb630e8a0b7d94e1c7e609b20dfaa2b22231
Parent: a5e6444
Committed by GitHub <noreply@github.com> on 4/28/2021, 6:58:54 AM