If I'm iterating thru, eg, a 5000 member vector, is it worthwhile to do this:
rather than justCode:vector<whatever>::iterator it = myvec.begin(), end = myvec.end();
while (it != end) {
or will the compiler optimize this anyway? I would think since myvect could be shortened in the loop it cannot...Code:while (it != myvec.end()) {