Tal Einat <talei...@gmail.com> added the comment:

> If you write to stdout by small chunks, it adds a large overhead to every 
> write() call.

While I agree that there is great room for optimization in Squeezer's 
interception of write(), it doesn't appear to have a noticeable effect in such 
cases, e.g. in the examples provided by Raymond in the first comment. In my 
testing, even removing the write() interception entirely doesn't have an effect 
I can notice.

I'm happy to optimize it anyways, there is plenty of "low hanging fruit" there.

----------

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

Reply via email to