Boost logo

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:
> On 10/24/12 14:09, Eric Niebler wrote:
>> The source code is here:
> I downloaded that
> 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.
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.


Boost list run by bdawes at, gregod at, cpdaniel at, john at