Hello,

We also found a case where PyPy is 2x slower than CPython. The following code:

<<<<

import cPickle

fileIter=open("pypytesting", "w+b")
mylist = ["qwerty"] * 100

for i in xrange(1000000):
        cPickle.dump(mylist, fileIter,1)

>>>>

Runs at:
        CPython 2.7.3:  13.114 sec
        PyPy nightly:    29.239 sec

[Warning: it'll produce a file (pypytesting) that is 205 MB in size]

Kind regards,

lefteris.
_______________________________________________
pypy-dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-dev

Reply via email to