>>>>> "Jean-Marc" == Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:

>>>>> "Alfredo" == Alfredo Braunstein <[EMAIL PROTECTED]> writes:
>>> I am not sure I understand FontIterator::operator*(), since
>>> inlining it did not improve the situation.

Alfredo> Could the problem be LyXFont's copy constructor?

Jean-Marc> Sure, we are not supposed to make a copy here. The attached
Jean-Marc> patch makes FontIterator::operator* go away from the
Jean-Marc> profile. The strange thing is that this does not change the
Jean-Marc> timings...

Jean-Marc> Lars, is it OK nevertheless? It looks like a natural thing
Jean-Marc> to do, unless there is something I do not understand about
Jean-Marc> how C++ works.

OK, since nobody complained, I committed it.

JMarc

Reply via email to