New submission from Lefteris Stamatogiannakis <[email protected]>:
When reading a text file with the universal newline option in open, pypy can be
up to ~200
times slower than CPython.
Test code:
f=open('textfile.txt', 'rU')
totalLen = 0
for l in f:
totalLen += len(l)
print(totalLen)
----------
messages: 5904
nosy: estama, pypy-issue
priority: performance bug
status: unread
title: Universal Newlines in pypy are extremely slow
________________________________________
PyPy bug tracker <[email protected]>
<https://bugs.pypy.org/issue1527>
________________________________________
_______________________________________________
pypy-issue mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-issue