[issue2523] binary buffered reading is quadratic
Antoine Pitrou
report at bugs.python.org
Sun Jun 8 12:08:28 CEST 2008
Antoine Pitrou <pitrou at free.fr> added the comment:
Thanks for the fixes.
By the way, I don't know much about non-blocking streams, but it seems
to me that "optimal" non-blocking read() would require that the chunks
we ask to the OS are block-aligned, which is not the case currently (we
use 2*avail, which can be an arbitrary value).
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue2523>
_______________________________________
More information about the Python-bugs-list
mailing list