[PyPy-issue] [issue641] reading CSV files with csv module is much slower than CPython 2.6.6

Janos pypy-dev-issue at codespeak.net
Tue Mar 1 11:51:23 CET 2011


Janos <mjanos5 at gmail.com> added the comment:

Float conversion is really much slower (test attached).


for _ in xrange(1, 1000000):
	float("0.395963681409")


user at localhost:~/temp$ time python float_test.py 

real	0m0.889s
user	0m0.880s
sys	0m0.008s

user at localhost:~/temp$ time ~/usr/pypy-1.4.1-linux/bin/pypy float_test.py 

real	0m8.136s
user	0m7.764s
sys	0m0.024s

_______________________________________________________
PyPy development tracker <pypy-dev-issue at codespeak.net>
<https://codespeak.net/issue/pypy-dev/issue641>
_______________________________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: float_test.py
Type: text/x-python
Size: 55 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/pypy-issue/attachments/20110301/54ddae01/attachment.py>


More information about the Pypy-issue mailing list