On Mon, 2006-11-27 at 11:53 +0100, Georg Baum wrote:
> Abdelrazak Younes wrote:
> 
> > Abdelrazak Younes wrote:
> >> Abdelrazak Younes wrote:
> >>> Hello,
> >>>
> >>> It took a great deal of step by step debugging but my supposition was
> >>> right, redoParagraph() is the culprit!
> >>> The reason why the slowdown (and the csrss.exe) appears only in the
> >>> line following a big formula is because of this code in rowpainter.C,
> >>> line 1008:
> >>>
> >>> // Cache one paragraph above and one below
> >>> // Note MV: this cannot be suppressed even for singlepar.
> >>> // Try viewing the User Guide Mobius figure
> >> 
> >> The funny thing is that trying to view this figure in UserGuide.lyx
> >> crashes LyX even though this code is here...
> > 
> > Even funnier is that removing this code solves the crash and the speed
> > problem at the same time!
> > 
> > Looks like my metrics cleanup has some nice side effects... I'm doubly
> > good! :-)
> 
> I don't understand at all. Can you please explain in more detail for
> somebody who is not so familiar with that code?
> 
> Why is caching the paragraph below and above not needed anymore?
> Why was it needed formerly?

This is my doing... it was needed for coordinate cache reasons -- it
would assert without. So much has changed in cache handling... I believe
Abdel and am happy that this code can go now. Never was proud of it :-/

> Do you say that fontmetrics and paragraph breaking in math is too slow? I
> would not understand that, because it is (according to Andre) basically
> unchanged from 1.3 (and there it was quick enough).It rather looks to me
> that it was called far too often when it was not needed.
> 
> But anyway, it really looks like you are a multiple hero, since I am sure
> that the remining questions can be answered easily.
> 
> 
> Georg

- Martin

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to