Stefan Behnel <sco...@users.sourceforge.net> added the comment: Here's another base line test: slicing an empty list
patched: $ ./python -m timeit -s 'l = []' 'l[:]' 10000000 loops, best of 3: 0.0847 usec per loop original: $ ./python -m timeit -s 'l = []' 'l[:]' 10000000 loops, best of 3: 0.0977 usec per loop That's about 13% less overhead. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue10227> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com