Boost logo

Boost :

Subject: Re: [boost] [Fusion] port to c++0x
From: Joel de Guzman (joel_at_[hidden])
Date: 2009-10-03 22:24:20


David Abrahams wrote:
> on Sat Sep 26 2009, Christopher Schmidt <mr.chr.schmidt-AT-online.de> wrote:
>
>> I attached a test driver to this post. The testcase instantiates 25*25 distinct tuples
>> (either vertical or horizontal ones) with 0 to 10 elements. Then optionally a type
>> (meta-at) and/or object lookup (at) is done on each element.
>> I used gcc 4.4.1 (TDM-1 mingw32) and ptime to measure performance. It is pretty
>> interesting that the instantiation of the horizontal tuple type is just slightly
>> slower.
>
> FYI, gcc 4.5 is going to look dramatically different (better) than 4.4.x
> for many metaprogramming tasks, because they're switching from linear to
> O(1) lookup of template instantiations.

Amazing!

Regards,

-- 
Joel de Guzman
http://www.boostpro.com
http://spirit.sf.net
http://www.facebook.com/djowel
Meet me at BoostCon
http://www.boostcon.com/home
http://www.facebook.com/boostcon

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk