AMDG On 1/8/2011 2:48 PM, Paul wrote:
I guess as was to fast there in being optimistic ;)
It seems there is another performance issue when i extend the number of types further to 75 (on the project we expect to grow to +/- 60 types).
typedef boost::mpl::vector75< boost::shared_ptr<C1>, boost::shared_ptr<C2>, boost::shared_ptr<C3>, ...
My machine simply runs out of memory (commit 3.0GB) while the compiler keeps consuming 100% for minutes...
From what i can see now is that no combination (adding boost::blank or not, patching variant.hpp or not) seems to succeed to compile and link <1min and <1GB or ram.
A test using boost::blank + the patched variant just finished on 4:00min.
Does the cost increase continuously, with the number of elements?
Steven, can you maybe invest with your tool where the load/instantiations are coming from?
Maybe in a few days. boost::mpl::vector75 doesn't exist without some extra work.
PS: I have downloaded your tool with svn, i intend to test/use it for myself as well. ;)
In Christ, Steven Watanabe