|
Boost : |
Subject: Re: [boost] Boost.Generic, C++0x Concepts, and C++1y Concepts
From: Matt Calabrese (rivorus_at_[hidden])
Date: 2012-09-27 21:38:23
On Thu, Sep 27, 2012 at 9:11 PM, Lorenzo Caminiti <lorcaminiti_at_[hidden]>wrote:
> Yes, of course. That's a big difference with respect to Boost.Contract
> where the macros are used in the user code so I can't pre-compile
> stuff in the lib to speed up things. (Using pre-compiled headers in
> the user code reduced re-compilation time of the users code from x30
> to x2 but users still have to wait a long time when they compile their
> headers for the 1st time and if they significantly change their
> contracts as many of the pre-compiled header will need to be
> re-compiled.)
Yeah, that's a truly enormous speed-up. It's too bad preprocessor code is
not that easy to profile. I don't know about you, but it was sometimes a
bit of a guessing game and trial-and-error for me before settling in on the
approach that I ended up with.
-- -Matt Calabrese
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk