Jean-Marc Lasgouttes wrote:
"Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes:

Abdelrazak> I've tested again this document and the good news is that
Abdelrazak> the performance will soon be a bit better in 1.5 with my
Abdelrazak> forthcoming painting performance patch. But the problem I
Abdelrazak> think Georg is right in that the problem lies in how lines
Abdelrazak> and symbols are painted on screen with mathed.

It would be interesting to know whether the situation improves when
the TeX fonts are unavailable. This is the only difference I can think
of between math and non-maths. It may be that these fonts are
expensive to handle.

As my painting investigation continue, it seems that this problem has _nothing_ to do with painting on screen at all. Modifying a text line between two huge formula exhibits the slow behaviour even if only the text line is repainted on screen (you can use "-dbg painting" to make sure of that.

I guess this could be related to the data memory models used in mathed. Maybe some big tables created/deleted on the fly?

Also, this comment from Michael Wojcik* makes me wonder if maybe mathed does something special with lyxerr... any clue someone?

"So, for example, if LyX were running
with debug enabled, the debug lines being written to the LyX console
window might cause a noticeable jump in csrss load.  But I haven't
tested that."

Abdel.

* http://www.mail-archive.com/lyx-users%40lists.lyx.org/msg51385.html

Reply via email to