|
Boost : |
Subject: Re: [boost] Phoenix v3 review
From: Thomas Heller (thom.heller_at_[hidden])
Date: 2011-02-26 02:17:12
On Saturday, February 26, 2011 03:02:22 AM Joel de Guzman wrote:
> On 2/25/2011 9:38 PM, Mathias Gaunard wrote:
> > On 25/02/2011 14:13, Thomas Heller wrote:
> >> Preprocessed phoenix still needs to resolve all the operator
> >> overloads. The other points you mentioned will be reworked.
> >
> > AFAIK, overload resolution is constant-time on all compilers. The
> > compile-time slowdown should only come from parsing a larger amount of
> > code.
>
> I'd love to know if that is a fact. I often wondered about
> this myself.
This is correct. overload resolution isn't that bad. I did a quick test ...
with "perfect forwarding" for 8 arguments, which didn't show a significant
increase in compile time.
> Regards,
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk