Hi!

I'm seeing what looks to me like quadratic behaviour on pasting long
lines in readline applications like bash, python, psql.

To reproduce: open a new terminal with say bash, make a really long
line (> 20k characters, e.g. with python -c 'print "a" * 20000'), then
paste it into the terminal. The first characters are inserted quickly,
but it gradually slows down. With enough data it ends up being so slow
as to be unusable.

If I start a new bash with bash --noediting and try the same paste,
the characters show up instantaneously.

At first I thought it was a problem with the terminal emulator, but
the problem shows up both in xterm and gnome-terminal. I usually
encounter it trying to paste a long command or a list of ids to a
remote server.


Ole

_______________________________________________
Bug-readline mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-readline

Reply via email to