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

> Part of my thinking with the simple auto-squeeze formula, besides just 
> simplifying the code, it this.  Raymond claimed that squeezing slows down 
> printing.  If measurably true, one way to avoid a slow down would be to use a 
> simple heuristic formula to estimate the number of wrapped lines instead of 
> exactly counting.  This would be a separate issue, if needed.

After Raymond opened issue #35196, I checked and found several places where the 
auto-squeeze code was being inefficient.  There's a PR ready with those 
optimizations attached to that issue (GH-10454).

----------

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

Reply via email to