This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author methane
Recipients methane
Date 2018-07-04.12:21:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1530706871.24.0.56676864532.issue34043@psf.upfronthosting.co.za>
In-reply-to
Content
tarfile._Stream has two buffer for compressed and uncompressed data.
Those buffers are not aligned so unnecessary bytes slicing happens
for every reading chunks.

This commit bypass compressed buffering.

In this benchmark [1], user time become 250ms from 300ms.

[1]: https://bugs.python.org/msg320763
History
Date User Action Args
2018-07-04 12:21:11methanesetrecipients: + methane
2018-07-04 12:21:11methanesetmessageid: <1530706871.24.0.56676864532.issue34043@psf.upfronthosting.co.za>
2018-07-04 12:21:11methanelinkissue34043 messages
2018-07-04 12:21:11methanecreate