Roundup Robot added the comment:
New changeset 0df3004581fe by Benjamin Peterson in branch 'default':
improve idioms (closes #20642)
http://hg.python.org/cpython/rev/0df3004581fe
--
nosy: +python-dev
resolution: - fixed
stage: - resolved
status: open - closed
Raymond Hettinger added the comment:
This was a nice patch.
Thanks.
--
nosy: +rhettinger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20642
___
Claudiu.Popa added the comment:
Ping? The change is clear, has the same semantics and its a little bit faster.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20642
___
New submission from Claudiu.Popa:
Hello!
Here's a patch for improving the performance of tuple deepcopy-ing.
Without patch:
# ./python -m timeit -s import copy; a=tuple(range(100)) -p
copy.deepcopy(a)
10 loops, best of 3: 1.45 sec per loop
With patch:
# ./python -m timeit -s import