Hi,

I observe extremely long respnse times when I try to delete a large
range of lines, say ".,$d"

I suspect, the following happens:

The first line of the range (n lines) is deleted, the other lines up to the
end of the buffer (at least n-1) are renumbered.
Then the second line is deleted, the remaining ones are renumbered, and so on.
This gives n**2 complexity.
Deleting the n lines first an renumbering the remaing ones only once would
be much faster.
Am I right?

Kind regards,

        -ulrich lauther

----------------------------------------------------------------------------
Ulrich Lauther          ph: +49 89 636 48834 fx: ... 636 42284
Siemens CT SE 6         Internet: [EMAIL PROTECTED]

Reply via email to