Andre Poenitz wrote:
For some strange reason it now looks like using the fontwidth cache is a
good idea on Linux, too. Recorded times go do go down from 2.89 to 2.41
(i.e. > 15%) when scrolling 50 pages through the UserGuide.
I can hardly imagine this is due to the increase from 256 to 65536
cached characters per font as the English UserGuide deos not contain
lots of characters above 256.
Can anybody else please have a look at this (i.e. record time
Another thing I noticed is that my old 'test routine' (./lyx -x
'command-sequence buffer-load UserGuide.lyx ; buffer-begin ; repeat 100
screen-down ; lyx-quit' or similar) does not produce sensible results
anymore as the screen won't be updated at all.
I've fixed that now.
This is probably a consequence of the removal of unnessecary 'update()'
calls,
No, actually, the backing pixmap was updated but Qt just optimized the
successive update calls. I changed the update() call to a repaint(). As
this is done once per redraw, this is OK.
but this alos means that the lyxpipe is close to useless right
now as there isn't any visual feedback even if the buffer is changed.
Should be OK now.
Abdel.