[issue2632] performance problem in socket._fileobject.read

Ralf Schmitt report at bugs.python.org
Tue Apr 22 08:02:38 CEST 2008


Ralf Schmitt <schmir at gmail.com> added the comment:

(I think the twisted issue your talking about is:
http://twistedmatrix.com/trac/ticket/1079)

Your patch still contains this code:

                 recv_size = min(rbufsize, left)
                 data = self._sock.recv(recv_size)

This is IMHO wrong.  See my comments above.

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2632>
__________________________________


More information about the Python-bugs-list mailing list