On Mon, Nov 24, 2003 at 10:22:08PM +0100, Alfredo Braunstein wrote:
> Andre Poenitz wrote:
> 
> > This removes the paragraph rebreak on a changed label.
> 
> Why is it so expensive? Isn't it because on every updated label the
> paragraph rebreak fires an updateRowPositions?

Yes, it's the initial 'update' after loading the doc which provokes this.
[At least that's my guess]

> (i.e. the thing gets a
> complexity if O(labels * pars))?

Hm.. could well be.
 
> If that is the case, it would suffice to call redoParagraphInternal instead
> of redoParagraph and do an updateRowPositions at the end...

Well, I rather wait for Jos� to show me a case where I can see that this
is broken.

Andre'

-- 
Those who desire to give up Freedom in order to gain Security, will not have,
nor do they deserve, either one.     (T. Jefferson or B. Franklin or both...)

Reply via email to