This is my little big question about containers, in particular, arrays.
I am writing a physics code that mainly manipulates a big (> 1 000 000) set of \"particles\" (wit
You could go several ways. But in your case, don't declare astd::vector >. You're allocating a vector (and you copy it around) for every 6 doubles. Thats way too costly.
std::vector >
vector