[pypy-issue] [issue729] Pypy strangely slow when reading files

Da_Blitz tracker at bugs.pypy.org
Wed Jun 1 18:53:39 CEST 2011


Da_Blitz <pypy at pocketnix.org> added the comment:

opening a file descriptor with a buffersize of "0" causes pypy to read a byte at
a time whereas python will default to 8192 bytes on my system

confirmed this behavior for both pipes and files

subprocess sets bufsize to 0 in the __init__ of Popen, meaning if buffering is
not specified as an arg the unwanted behavior happens

________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue729>
________________________________________


More information about the pypy-issue mailing list