On Tue, Sep 16, 2003 at 03:57:02PM +0000, Angus Leeming wrote:
> Andre Poenitz wrote:
> 
> > if not, I'd like to replace this with an inlined
> > 
> >         Paragraph::value_type Paragraph::getChar(pos_type pos) const
> >         {
> >                 text_.at(pos);
> >         }
> > 
> > or even
> > 
> >         Paragraph::value_type Paragraph::getChar(pos_type pos) const
> >         {
> >                 text_.at(pos);
> >         }
> > 
> > for a 6% (or 9%) speedup...
> 
> Well, I've stared and stared but I can't see the difference between these two 
> alternatives...

Aehm.  The second should be 

                    text_[pos];

Sorry for wasting your time.

Andre'

Reply via email to