[issue35196] IDLE text squeezer is too aggressive and is slow

Tal Einat report at bugs.python.org
Fri Nov 9 15:42:06 EST 2018


Tal Einat <taleinat at 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 <report at bugs.python.org>
<https://bugs.python.org/issue35196>
_______________________________________


More information about the Python-bugs-list mailing list