On Tue, Mar 28, 2006 at 08:30:29PM +0200, Abdelrazak Younes wrote: > Martin Vermeer a écrit : > >Attached a slightly improved patch that will go into trunk unless > >objections come up. > I have a comment with regard to your use of ParagraphList. Sorry I just > noticed that now... > In your new function. > > +void Outline(OutlineOp mode, Buffer * buf, pit_type & pit) > > you use ParagraphList::iterator and at the end you compute the needed > pit type with std::distance. > AFAIS from your code, you could as well use operator[] directly. You > will have greater speed as a result.
How? I don't quite see it. - Martin
pgp26HzSJ9GWC.pgp
Description: PGP signature