|
Boost : |
Subject: Re: [boost] tuple benchmarks show marked differences from std::tuple(was Re: Interesting article on stack-based TMP
From: Larry Evans (cppljevans_at_[hidden])
Date: 2012-10-25 16:53:12
On 10/25/12 11:58, Larry Evans wrote:
[snip]
> On 10/24/12 14:09, Eric Niebler wrote:
[snip]
>>
>> The source code is here:
>>
>> https://github.com/ericniebler/home/tree/master/src/tuple
>>
>
> I downloaded that
[snip]
> After looking at the code (and Makefile) it's not clear how the
> benchmark was done. The Makefile has nothing about timing in it,
> and the readme.txt mentions nothing about timing. Looking at the
> tuple.cpp code shows something with tree_builder in it, which sounds
> like it might be the benchmark code; however, so does
> unrolled_tuple.cpp.
[snip]
I should have looked closer at the code which would have shown that
tuple.cpp and unrolled_tuple.cpp are the same starting at:
template<int I>
struct tree_builder
{
So the benchmark code was just the code starting at that point, AFAICT.
Right?
-regards,
Larry
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk