On May 27, 2005, at 2:59 PM, Martin Vermeer wrote:
Actually I have now had time to think about this for two weeks, and my
considered opinion is a bit different...
This patch fixes problems on the Mac with dropping characters and with
reordering characters. Also, scrolling feels much better.
However, typing speed is still very slow and eats processor time, as
before. Here's the resulting time profile of the relevant bits, in two
versions -- the first of which is pretty much what I've reported
before, the second is a new view that for all I know (almost nothing!)
may be helpful.
Granularity: Source Line
58.9% 59.9% LyX lengthcombo.C:62
0.6% 0.7% LyX lengthcombo.C:62
0.1% 0.1% LyX qfont_loader.C:396
0.0% 0.0% LyX lengthcombo.C:62
0.2% 0.2% LyX qfont_loader.C:396
0.0% 0.0% LyX stl_alloc.h:677
0.1% 0.1% LyX stl_tree.h:1053
0.0% 0.0% LyX dociterator.C:473
Granularity: Symbol
56.1% 56.7% LyX 1.6 KB QFontEngineMac::doTextTask(QChar const*, int,
int, int, unsigned char, int, int, QPaintDevice*, QRegion const*) const
0.1% 0.1% LyX 192 B qMacVersion()
0.0% 0.1% LyX 1.6 KB QFontEngineMac::doTextTask(QChar const*, int,
int, int, unsigned char, int, int, QPaintDevice*, QRegion const*)
const 0.1% 0.1% LyX 284 B QMacSetFontInfo::setMacFont(QMacFontInfo
const*, QMacSetFontInfo*)
0.1% 0.1% LyX 160 B QMacSetFontInfo::setMacFont(QFontEngine const*,
QMacSetFontInfo*, QPaintDevice*)
0.0% 0.0% LyX 92 B QRegion::handle(bool) const
0.0% 0.0% LyX 12 B QRegion::isNull() const
0.0% 0.0% LyX 8 B QPaintDevice::handle() const
0.0% 0.0% LyX 132 B QRegion::isEmpty() const
0.0% 0.0% LyX 520 B DocIterator::backwardPos()
Bennett