On Wed, Dec 14, 2005 at 05:03:12PM +0100, Jean-Marc Lasgouttes wrote: > >>>>> "Bennett" == Bennett Helm <[EMAIL PROTECTED]> writes: > > Bennett> On Dec 14, 2005, at 10:51 AM, Jean-Marc Lasgouttes wrote: > >>>>>>> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: > >> > Angus> Do I read top-down correctly as saying that one half of all > Angus> LyX's processing time is spent in doTextTask? > >> Yes, drawing seems to be very slow with Qt/Mac. > > Bennett> But this doesn't explain why the same version of Qt/Mac > Bennett> together with lyx-1.3.x is relatively speedy! With lyx-1.3.x, > Bennett> there's no lag *at all* in typing into even very large > Bennett> paragraphs, into large insets embedded within large > Bennett> paragraphs, etc. I don't think this can be the explanation of > Bennett> the speed problem in lyx-1.4.0. > > Well, 1.4.x draws more text :( This is the consequence of the > simplification of the update mechanism initiated by Andre. The result > is much simpler code, but the speed suffers a lot.
I suppose so. What would fix that is the single row drawing method that I tried my hand on, but that was becoming too complicated for 1.4 as Lars noted. I still want to give that a try later, for 1.4.1 perhaps... there must be a straightforward way of doing it, mostly confined to rowpainter. And with special attention to the text inside insets, as people will want to use big branchinsets. Currently, with my lyxfunc patch, only the current paragraph is redrawn for every character insertion. The whole screen only if paragraph height changes. Now if we have a big paragraph, that is too much. Logical. Note that if a paragraph contains an inset (containing one or more paragraphs of its own), _all of this together_ counts here as "current paragraph". Do we have now the feeling that we understand this? - Martin
pgpQ9AZgS2PEZ.pgp
Description: PGP signature