[issue20642] Enhance deepcopy-ing for tuples

2014-05-03 Thread Raymond Hettinger
Raymond Hettinger added the comment: This was a nice patch. Thanks. -- nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list m

[issue20642] Enhance deepcopy-ing for tuples

2014-05-03 Thread Roundup Robot
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 __

[issue20642] Enhance deepcopy-ing for tuples

2014-04-27 Thread Claudiu.Popa
Claudiu.Popa added the comment: Ping? The change is clear, has the same semantics and its a little bit faster. -- ___ Python tracker ___ _

[issue20642] Enhance deepcopy-ing for tuples

2014-02-16 Thread Claudiu.Popa
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