This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2014年02月16日 21:46 by Claudiu.Popa, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| copy.patch | Claudiu.Popa, 2014年02月16日 21:46 | review | ||
| Messages (4) | |||
|---|---|---|---|
| msg211362 - (view) | Author: PCManticore (Claudiu.Popa) * (Python triager) | Date: 2014年02月16日 21:46 | |
Hello! Here's a patch for improving the performance of tuple deepcopy-ing. Without patch: # ./python -m timeit -s "import copy; a=tuple(range(1000000))" -p "copy.deepcopy(a)" 10 loops, best of 3: 1.45 sec per loop With patch: # ./python -m timeit -s "import copy; a=tuple(range(1000000))" -p "copy.deepcopy(a)" 10 loops, best of 3: 1.32 sec per loop |
|||
| msg217248 - (view) | Author: PCManticore (Claudiu.Popa) * (Python triager) | Date: 2014年04月27日 10:11 | |
Ping? The change is clear, has the same semantics and its a little bit faster. |
|||
| msg217850 - (view) | Author: Roundup Robot (python-dev) (Python triager) | Date: 2014年05月04日 00:22 | |
New changeset 0df3004581fe by Benjamin Peterson in branch 'default': improve idioms (closes #20642) http://hg.python.org/cpython/rev/0df3004581fe |
|||
| msg217851 - (view) | Author: Raymond Hettinger (rhettinger) * (Python committer) | Date: 2014年05月04日 00:38 | |
This was a nice patch. Thanks. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:58 | admin | set | github: 64841 |
| 2014年05月04日 00:38:47 | rhettinger | set | nosy:
+ rhettinger messages: + msg217851 |
| 2014年05月04日 00:22:40 | python-dev | set | status: open -> closed nosy: + python-dev messages: + msg217850 resolution: fixed stage: resolved |
| 2014年04月27日 10:11:12 | Claudiu.Popa | set | messages: + msg217248 |
| 2014年02月16日 21:46:07 | Claudiu.Popa | create | |