Hey, I just thought of a really really nitpicky question. Does the ! operator (it is an operator, right?) make any difference in speed whatsoever? I mean, would there be any difference at all in the speed of these code examples?
It doesn't really matter to me, and I know that most people would use the first code example, but just had a sudden curiosity attack.Code://Clip 1 bool done = false; while(!done) //stuff //Clip 2 bool notDone = true; while(notDone) //stuff