Hey all,
I've a couple of large enough vectors in my code, talking about 88200+ floats per vector.
I wanna copy the contents of one into the other.
I've read around, some say
vector.swap ( otherVector );
is fastest?
Currently I'm using the following:
for(int i =0; i < vector.size(); i++) {
vector[i] = otherVector[i];
}
I'm pretty sure thats awful in a performance sense ;-)
Let me know if there are fast ways to do this please!
Cheers, -Harry