A few years ago I saw a thread somewhere explaining things like...
andCode://C++ i=1000 while(--i) {} //is faster than //C++ for(i = 999; i > -1; i--) {}
Are these things true? And if so is it also true for .Net (managed programs)? Does anyone know if the original thread is still available.Code:i++; i++; i++; i++; i++; i++; //is faster than i+=6; //(for numbers less than about 7




Reply With Quote