Boost logo

Boost Users :

Subject: Re: [Boost-users] large variant performance compared (50 elements)
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2011-01-08 12:28:11


AMDG

On 1/8/2011 3:26 AM, Paul wrote:
>> Looks like there's quadratic behavior.
>>
>> Total instantiations: 45697
>> Location count cum.
>> -----------------------------------------------------------------------------------------------------------------------
>>
>>
>> ..\trunk\boost/variant/variant.hpp(666) 9604 9604
>> ..\trunk\boost/variant/variant.hpp(627) 9604 19208
>> ..\trunk\boost/variant/detail/visitation_impl.hpp(163) 4949 24157
>> ..\trunk\boost/variant/detail/visitation_impl.hpp(140) 4949 29106
>>
>
> I'm really impressed with the amount of detail you have been able to
> produce in your analysis in such short time.
>
> How did (can) you count the number of instantiations? This type of
> analysis is really helpful in our compile-time reduction/analysis.

The tool I wrote is available through Subversion
http://svn.boost.org/svn/boost/sandbox/tools/profile_templates

In Christ,
Steven Watanabe


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net