On Mon, Jan 08, 2007 at 10:50:17AM -0000, [EMAIL PROTECTED] wrote: > Author: younes > Date: Mon Jan 8 11:50:15 2007 > New Revision: 16597 > > URL: http://www.lyx.org/trac/changeset/16597 > Log: > performance fix. > > Modified: > lyx-devel/trunk/src/dociterator.h > > Modified: lyx-devel/trunk/src/dociterator.h > URL: http://www.lyx.org/trac/file/lyx-devel/trunk/src/dociterator.h?rev=16597 > ============================================================================== > --- lyx-devel/trunk/src/dociterator.h (original) > +++ lyx-devel/trunk/src/dociterator.h Mon Jan 8 11:50:15 2007 > @@ -125,10 +125,14 @@ > /// > void boundary(bool b) { boundary_ = b; } > > - /// are we in mathed? > - bool inMathed() const; > - /// are we in texted? > - bool inTexted() const; > + /// are we in mathed?. > + /// inlined out because of profiling results under linux when > + /// opening a document. > + inline bool inMathed() const; > + /// are we in texted?. > + /// inlined out because of profiling results under linux when > + /// opening a document. > + inline bool inTexted() const;
Does this actually help? I would have expected that moving the method definition to the header would have been needed, too (possiby causing additional header pulled in) Andre'
