[issue13031] [PATCH] small speed-up for tarfile.py when unzipping tarballs

2011-09-23 Thread Lars Gustäbel
Changes by Lars Gustäbel l...@gustaebel.de: -- assignee: - lars.gustaebel nosy: +lars.gustaebel priority: normal - low versions: +Python 3.3 -Python 2.7, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13031

[issue13031] [PATCH] small speed-up for tarfile.py when unzipping tarballs

2011-09-23 Thread poq
poq p...@gmx.com added the comment: I don't think you even need the slice, if you use unpack_from. -- nosy: +poq ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13031 ___

[issue13031] [PATCH] small speed-up for tarfile.py when unzipping tarballs

2011-09-22 Thread Justin Peel
New submission from Justin Peel pee...@gmail.com: Attached small diff speeds up extracting a gzipped tarball on my machine using python 3.2 by 3-5%. It will probably be a larger percentage on machines that have faster hard drives (mine is 5400rpm). Basically, the changes speed up calculating

[issue13031] [PATCH] small speed-up for tarfile.py when unzipping tarballs

2011-09-22 Thread Justin Peel
Changes by Justin Peel pee...@gmail.com: -- type: - performance ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13031 ___ ___ Python-bugs-list