summaryrefslogtreecommitdiffstats
path: root/Python/thread_pthread.h
diff options
context:
space:
mode:
authorTony Solomonik <tony.solomonik@gmail.com>2020-07-14 19:41:24 (GMT)
committerGitHub <noreply@github.com>2020-07-14 19:41:24 (GMT)
commit568fb0ff4aa641329261cdde20795b0aa9278175 (patch)
treeca72a11fd5ac68d82b6f37c0484c22f27af3b525 /Python/thread_pthread.h
parent2a5181829af394b82e8e8c917183c709ee72a2b7 (diff)
downloadcpython-568fb0ff4aa641329261cdde20795b0aa9278175.zip
cpython-568fb0ff4aa641329261cdde20795b0aa9278175.tar.gz
cpython-568fb0ff4aa641329261cdde20795b0aa9278175.tar.bz2
bpo-41273: asyncio's proactor read transport's better performance by using recv_into instead of recv (#21442)
* bpo-41273: Proactor transport read loop to use recv_into By using recv_into instead of recv we do not allocate a new buffer each time _loop_reading calls recv. This betters performance for any stream using proactor (basically any asyncio stream on windows). * bpo-41273: Double proactor read transport buffer size By doubling the read buffer size we get better performance.
Diffstat (limited to 'Python/thread_pthread.h')
0 files changed, 0 insertions, 0 deletions