Alfredo Braunstein 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? (i.e. the thing gets
>> a complexity if O(labels * pars))?
>> 
>> If that is the case, it would suffice to call redoParagraphInternal
>> instead of redoParagraph and do an updateRowPositions at the end...
> 
> With the attached I get 13 secs. on my AMD2600+ for UserGuide20.lyx
> 
> Alfredo

Do you need the  updateRowPositions(); line if no labels have 
changed? Maybe add a boolean flag and use it to decide whether to 
invoke updateRowPositions?

-- 
Angus

Reply via email to