New submission from Tony <tony.solomo...@gmail.com>:

This will greatly increase performance, from my internal tests it was about 
150% on linux.

Using read_into instead of read will make it so we do not allocate a new buffer 
each time data is received.

----------
messages: 373526
nosy: tontinton
priority: normal
severity: normal
status: open
title: Convert StreamReaderProtocol to a BufferedProtocol

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue41279>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to