$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] Heads up - string_ref landing
From: Peter Dimov (lists_at_[hidden])
Date: 2012-11-16 13:20:41
Nevin Liber wrote:
> Now we are getting somewhere.  Actual experience.  Could you elaborate on
> the compilers and constructs that need to be hand optimized into 
> equivalent
> code because the optimizers aren't doing it themselves?
Compilers are, in my experience, better at optimizing i < n loops than they 
are at optimizing i != end loops. They are better at constant-folding the n, 
too, which then helps with eventual unrolls. But why are we having this 
discussion at all? These are private members of the class; the author can do 
whatever he likes.