homepage

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.

Author Claudiu.Popa
Recipients Claudiu.Popa, alexandre.vassalotti
Date 2014年02月16日.21:46:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1392587167.09.0.0900280350163.issue20642@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2014年02月16日 21:46:07Claudiu.Popasetrecipients: + Claudiu.Popa, alexandre.vassalotti
2014年02月16日 21:46:07Claudiu.Popasetmessageid: <1392587167.09.0.0900280350163.issue20642@psf.upfronthosting.co.za>
2014年02月16日 21:46:07Claudiu.Popalinkissue20642 messages
2014年02月16日 21:46:06Claudiu.Popacreate

AltStyle によって変換されたページ (->オリジナル) /