Martin Vermeer wrote:
Give the attached a try.
I think it is quite a bit faster, and fixes your noticed side effect.
There may be other side effects; this patch touches so many things, it
scares me a bit. But the speedup is so substantial that perhaps we
should just take the jump, and clean up afterwards. And I have a good
feeling that now SinglePar works as it was intended to.
I tried the patch and saw no problems with it. Moving around and
editing a document with lots of short paragraphs works very well,
I can't force a load spike.
The crazy 100k paragraph improved too, although I can still
type faster than lyx in this case. Scrolling to the bottom with the
"page down" key wasn't painful this time though - a clear improvement.
Opening a 30-page real document worked fine too, I could scroll through
it very fast with either pagedown or scrollbar. Great speed, and no
load spike.
Helge Hafting