
Ion Gaztañaga wrote:
El 12/02/2013 17:15, igaztanaga@gmail.com escribió:
El 12/02/2013 16:15, Andrew Hundt escribió:
The OS X + clang version was on 1.52, Adam will need to chime in for the others.
Hi, I was testing using Boost 1.52.
Adam, Andrew, I've committed changeset #82846, adding to trunk some performance improvements in vector's constructors. It should improve a bit boost::container::vector results.
Ok, I'll try to find some time to test it.
I saw that varray has some optimizations for trivial types (dispatching to memcpy) that boost::container misses. Maybe a fairer comparison would be to use a simple class instead of std::size_t as the basic type. Something like "copyable_int" in boost/libs/container/movable_int.hpp:
In my test non-POD types were stored in containers, i.e. Box and std::pair<Box, ptr> where Box is box<point<double, 2, cartesian> >. Regards, Adam