[prev in list] [next in list] [prev in thread] [next in thread]
List: boost
Subject: Re: [boost] Interesting article on stack-based TMP
From: David Abrahams <dave () boostpro ! com>
Date: 2012-10-28 0:47:03
Message-ID: m2a9v7jud4.fsf () cone ! luannocracy ! com
[Download RAW message or body]
on Thu Oct 25 2012, Larry Evans <cppljevans-AT-suddenlink.net> wrote:
> On 10/25/12 12:24, Thorsten Ottosen wrote:
> [snip]
>> I guess some of my confusion comes from reading
>>
>> http://www.jot.fm/issues/issue_2008_02/article2.pdf
>>
>> some time ago. I think this article is why I thought they
>> were a bonus for compilation time.
>
> In particular, page 33, in the last sentence before section 3, says:
>
> Section 4 demonstrates how variadic templates drastically reduce
> compilation times
I believe that they do/can. However, getting the most performance out
of variadic templates involves avoiding O(N) recursive template
instantiations, which can be maddeningly difficult to achieve for some
problems.
--
Dave Abrahams
BoostPro Computing Software Development Training
http://www.boostpro.com Clang/LLVM/EDG Compilers C++ Boost
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic