Boost logo

Proto :

Subject: Re: [proto] Funky exercie: subset of Boost::parameters using proto
From: Daniel Wallin (daniel_at_[hidden])
Date: 2010-08-15 14:21:37


On Sun, Aug 15, 2010 at 4:51 PM, joel falcou <joel.falcou_at_[hidden]> wrote:
> So, Thomas and I felt bored or some suhc this afternoon. Incidentally, I
> needed to use Boost::Parameters
> in NT² but found the compile time to be somehow slow.
> So in a flash of defiance, we went to reimplementing a subset of parameters using proto

So you implemented something significantly slower (3 times on machine
with gcc4.3). Not very surprising; adding complex abstraction in the
implementation rarely makes things faster.

Here's the Boost.Parameter version, for reference:

  http://gist.github.com/525778

-- 
Daniel Wallin
BoostPro Computing
http://www.boostpro.com

Proto list run by eric at boostpro.com