|
Boost : |
Subject: Re: [boost] [Fusion] port to c++0x
From: David Abrahams (dave_at_[hidden])
Date: 2009-10-03 21:31:16
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.
-- Dave Abrahams BoostPro Computing http://www.boostpro.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk