
On Thu, Sep 27, 2012 at 9:11 PM, Lorenzo Caminiti <lorcaminiti@gmail.com>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