Quadratic behaviour when pasting very long lines
Submitted by Ole Laursen
Link to original bug (#748704)
Description
Try making a really, really long line (say 20000 characters) somewhere, e.g. in an editor. Then paste it into a terminal window. The first many characters of output are inserted quickly, but after some time the terminal slows down. To me it looks like there's an O(n^2) algorithm somewhere in there. At some point it gets so slow that it's unusable.
In practice, I encounter this annoying problem when pasting long commands to a remote server.
Version: 3.14.x
Resolution: RESOLVED NOTGNOME