I'm not super-familiar with tarfile, though I did use it in one project.
First off, note that CPython is commonly 4x slower than C. In fact,
it can be much worse at times.
Also... Have you considered trying your code on Pypy3?
On Mon, Apr 16, 2018 at 9:10 AM, Jim MacArthur
wrote:
> Hi, I'm se
Hi, I'm seeing a very slow extraction of an uncompressed tar file using
'tarfile' in Python 3.5.3 vs. the native Debian tar tool. This is a
console log from my machine:
jimm@scw-01:~$ time tar xf update.tar
real 0m3.436s
user 0m0.430s
sys 0m2.870s
jimm@scw-01:~$ rm -rf home
j