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