Re: icefox tests issues

Matt Rogers <[email protected]> Thu, 21 Oct 2004 11:21:47 -0500
Newsgroups gmane.comp.kde.devel.optimize
Message-ID <[email protected]>
On Wed, Oct 20, 2004 at 03:52:25PM -0400, Simon Perreault wrote:
> Matt Rogers wrote:
> >AFAIK, using it++ in Qt/KDE is worse because a temporary object is
> >created, but i could be _completely_ wrong. So this _might_ (very slim
> >possibility) cause a speedup, but caching the value of end() might have
> >more effect.
> 
> Caching the value of end() prevents the creation of an iterator, as does 
> using ++it instead of it++. The speedup should be the same.
> 
> The advantage of using preincrementation should not be quickly 
> dismissed, as it is very real.
> 

Thanks for confirming for me. :)

Matt