|
Boost Users : |
Subject: Re: [Boost-users] large variant performance compared (50 elements)
From: Paul (peebor_at_[hidden])
Date: 2011-01-08 06:26:46
> 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
>
> In Christ,
> Steven Watanabe
Hi Steven,
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.
I will try several suggestions; including suggested fix this evening and
respond on the thread with the results.
Paul
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