Message211362
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 |
|
Date |
User |
Action |
Args |
2014-02-16 21:46:07 | Claudiu.Popa | set | recipients:
+ Claudiu.Popa, alexandre.vassalotti |
2014-02-16 21:46:07 | Claudiu.Popa | set | messageid: <1392587167.09.0.0900280350163.issue20642@psf.upfronthosting.co.za> |
2014-02-16 21:46:07 | Claudiu.Popa | link | issue20642 messages |
2014-02-16 21:46:06 | Claudiu.Popa | create | |
|