New submission from Tony <tony.solomo...@gmail.com>:
Using recv_into instead of recv in the transport _loop_reading will speed up the process. >From what I checked it's about 120% performance increase. This is only because there should not be a new buffer allocated each time we call recv, it's really wasteful. ---------- messages: 373483 nosy: tontinton priority: normal severity: normal status: open title: asyncio: proactor read transport: use recv_into instead of recv _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue41273> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com