mirror of
https://github.com/python/cpython.git
synced 2024-11-23 18:04:37 +08:00
8fa1248685
BufferedWriter() was buffering calls that are the exact same size as the buffer. it's a very common case to read/write in blocks of the exact buffer size. it's pointless to copy a full buffer, it's costing extra memory copy and the full buffer will have to be written in the next call anyway. Co-authored-by: rmorotti <romain.morotti@man.com> |
||
---|---|---|
.. | ||
clinic | ||
_iomodule.c | ||
_iomodule.h | ||
bufferedio.c | ||
bytesio.c | ||
fileio.c | ||
iobase.c | ||
stringio.c | ||
textio.c | ||
winconsoleio.c |