Vincent van Ravesteijn - TNW wrote:
This is indeed a good argument in favour of cloning the Buffer.
Nope. I just profiled with sysprof what happens when
typing in UserGuide with LaTeX source shown (with full
source). Conclusions are

* it is painfully slow :)

* 69% of time is spent in libQtGui itself

* 4.3% of time is used to generate the full source code

I guess that qtextedit does not like big texts...

Maybe, it's because of the syntax-markup. It has to parse the whole tex
'file' to get the coloring right ?

I just tried without it and it still is slow. So the real bottleneck seems to be QTextDocument indeed. But as I said, we do a full reload at each keystroke...

Abdel.

Reply via email to