summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d
diff options
context:
space:
mode:
authorhajoscher <hajoscher@gmail.com>2018-07-04 08:13:18 (GMT)
committerINADA Naoki <methane@users.noreply.github.com>2018-07-04 08:13:18 (GMT)
commit12a08c47601cadea8e7d3808502cdbcca87b2ce2 (patch)
tree18813841cb73ced22a5e12d338f241e49a84e1f1 /Misc/NEWS.d
parent97ae32c92ecc7b3c29f8829a2b79f0f8f8bbf2cc (diff)
downloadcpython-12a08c47601cadea8e7d3808502cdbcca87b2ce2.zip
cpython-12a08c47601cadea8e7d3808502cdbcca87b2ce2.tar.gz
cpython-12a08c47601cadea8e7d3808502cdbcca87b2ce2.tar.bz2
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.
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r--Misc/NEWS.d/next/Library/2018-07-04-07-36-53.bpo-34010.VNDkde.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2018-07-04-07-36-53.bpo-34010.VNDkde.rst b/Misc/NEWS.d/next/Library/2018-07-04-07-36-53.bpo-34010.VNDkde.rst
new file mode 100644
index 0000000..4cb7892
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2018-07-04-07-36-53.bpo-34010.VNDkde.rst
@@ -0,0 +1,2 @@
+Fixed a performance regression for reading streams with tarfile. The
+buffered read should use a list, instead of appending to a bytes object.