Alfredo Braunstein <[EMAIL PROTECTED]> writes: | Lars Gullik Bjønnes wrote: > >> http://bugzilla.lyx.org/show_bug.cgi?id=1920 >> >> It would be nice if someone could test this. >> >> The problem was that when deleting paragraphs as part of a cut, we >> delete the paragraphs one-by-one from the beginning of the >> paragraphlist vector. This results in a huge amount of memory moves. >> This patch fixes that by just erasing all the paragraphs in one go. > | Shoot in the dark: does it work with change tracking? This erasing one at a | time (and erasing the contents first) was there to track changes I seem to | remember.
The change tracking would (should) never see it. This is supposed to be operations on std::containers only. -- Lgb