[pypy-issue] [issue767] copy.deepcopy is slower than cpython
Ismael
tracker at bugs.pypy.org
Sun Jun 26 23:20:35 CEST 2011
New submission from Ismael <ismaelgfk at gmail.com>:
ismael at chaos:~/workspace/testsum/src$ python dc.py
Time: 10.9600381851
ismael at chaos:~/workspace/testsum/src$ ~/pypy/bin/pypy dc.py
Time: 18.0004570484
script:
import time
import random
import copy
r = []
for i in xrange(40):
l = [round(random.random()*100000) for i in xrange(10*3*60*60)]
r.append(l)
ini = time.time()
copy.deepcopy(r)
print "Time: ", time.time() - ini
----------
messages: 2686
nosy: Ismael, pypy-issue
priority: bug
release: 1.5
status: unread
title: copy.deepcopy is slower than cpython
________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue767>
________________________________________
More information about the pypy-issue
mailing list