Antoine Pitrou <pit...@free.fr> added the comment: The patch has been outdated by other independent performance work on the zipfile module. In Python 3.2, the zipfile module is actually slightly faster than the "unzip" program:
- first with the supplied "zeroes.zip" file: $ rm -f zeroes && time -p unzip -e zeroes.zip Archive: zeroes.zip inflating: zeroes real 0.56 user 0.50 sys 0.06 $ time -p ./python -m zipfile -e zeroes.zip . real 0.45 user 0.34 sys 0.10 - Then with a 100MB random file: $ rm -f random && time -p unzip -e random.zip Archive: random.zip inflating: random real 0.69 user 0.61 sys 0.07 $ rm -f random && time -p ./python -m zipfile -e random.zip . real 0.33 user 0.18 sys 0.14 ---------- resolution: -> out of date status: open -> closed versions: +Python 3.2 -Python 2.7, Python 3.1 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue3978> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com