On Tue, Apr 13, 2004 at 04:07:34PM +0200, Braunstein Alfredo wrote:
> > We are avoiding several things. First is updateParPositions(), second
> 
> I may be wrong, but I don't think this is the bottleneck.

It was at some point of time. Went mostly away when going from per-row y
caches to per-paragraph y caches plus row-in-par offset, remember?

This saved about a factor of ten, but it still looms.

> > (and more important) is the need to have a (semi-)correct row cache
> > at all. So we would basically never have to call redoParagraph()
> > manually. 
> 
> ... which is not really expensive IMO

But hard to find the right places to call it.

> > And we would not need redoParagraph() in e.g. LyXText::init...
> 
> ...but this has nothing to do with "editing slowdown"...

But with e.g. buffer loading and buffer switching? [Not sure here, don't
have the sources at hand]

> So: I may agree that its a reasonable change (I even remember proposing 
> something along the lines last year), but I don't think we are solving any 
> performance problem...

So you claim that the only reason of the perceived cursor-right
performance problem is redrawing a single full screen full of 2-d data?

I am not saying this is impossible, but I'd rather expect a larger part
of the problem in the 99 other pages the are not drawn yet touched in
update.

Andre'

Reply via email to