[pypy-issue] [issue729] Pypy strangely slow when reading files
tracker at bugs.pypy.org
Thu Jun 2 12:32:13 CEST 2011
Armin Rigo <armin.rigo at gmail.com> added the comment:
Da_Blitz: ah, it's because CPython has special code for iterating over a file.
It's not equivalent to calling f.readline() to get the next line. It's doing
some read-ahead and caching on its own...
PyPy bug tracker <tracker at bugs.pypy.org>
More information about the pypy-issue