Stefan Schimanski wrote:
Seems to be false alarm. getInset does not show up very much anymore
without stdlib-debug. But there are still some interesting facts:
38% QPainter::drawText.
This was expected on Mac. Still, IIRC the number is lower than what
Bennett used to report a while ago. It shows that Qt4.3 is much better
at drawing on Mac than previous version. Hopefully this number will keep
decreasing with further release.
16% drawing of empty inline math insets (around every 20th character in
the text)
What is that?
16% for metrics calculation
Calculation or hash table lookup?
I think the only way to really reduce the amount to draw is to switch to
line based redrawing or even finer and relative coordinates for scrolling.
Once we re-organize the background painting in rowpainter (thus getting
rid of wide() etc) I believe we will see a nice speedup because only the
current line will have to be redrawn in all cases (within Inset or not).
Abdel.