]> granicus.if.org Git - python/commit
bpo-34010: Fix tarfile read performance regression (GH-8020)
authorhajoscher <hajoscher@gmail.com>
Wed, 4 Jul 2018 08:13:18 +0000 (10:13 +0200)
committerINADA Naoki <methane@users.noreply.github.com>
Wed, 4 Jul 2018 08:13:18 +0000 (17:13 +0900)
commit12a08c47601cadea8e7d3808502cdbcca87b2ce2
tree18813841cb73ced22a5e12d338f241e49a84e1f1
parent97ae32c92ecc7b3c29f8829a2b79f0f8f8bbf2cc
bpo-34010: Fix tarfile read performance regression (GH-8020)

During buffered read, use a list followed by join instead of extending a bytes object.
This is how it was done before but changed in commit b506dc32c1a.
Lib/tarfile.py
Misc/NEWS.d/next/Library/2018-07-04-07-36-53.bpo-34010.VNDkde.rst [new file with mode: 0644]