[issue9971] Optimize BufferedReader.readinto
John O'Connor
report at bugs.python.org
Thu May 5 22:58:06 CEST 2011
John O'Connor <tehjcon at gmail.com> added the comment:
Attached patch draft for buffered_readinto(). patchcheck removed some whitespace as well.
Daniel, I agree. BufferedReader.readinto seemingly defeats the purpose of using a BufferedReader to begin with. Though, for the difference Antoine pointed out it makes sense (more of an accumulator).
Interesting thread about prefetch(). +1
----------
keywords: +patch
Added file: http://bugs.python.org/file21899/buffered_readinto.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9971>
_______________________________________
More information about the Python-bugs-list
mailing list