|
Boost Users : |
Subject: Re: [Boost-users] Spirit 1.39 compilation times (avi)
From: Eric Niebler (eric_at_[hidden])
Date: 2009-07-21 12:52:41
Avi Bahra wrote:
> Can someone explain why the compilation times are faster under Spirit2.1
Spirit 2.0 was the first crack at implementing Spirit on top of
Boost.Proto. I'd say that in that version Spirit wasn't taking the best
advantage of Proto, and compile times suffered. In Spirit 2.1, many O(N)
template constructs were replaced with O(1), leading to better compile
times.
> I have noticed that even boost 1.39 references spirit qi, can I assume that
> faster compile times are due to moving from spirit classic to spirit qi ?
No, see above.
> More importantly can we intermix classic and qi grammars, if not
> are there any migration notes, to help users
I'd say not to mix spirit 2 and spirit classic. But Joel can correct me
if I'm wrong.
-- Eric Niebler BoostPro Computing http://www.boostpro.com
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net