I\'m doing a bit of coding, where I have to write this sort of code:
if( array[i]==false ) array[i]=true;
I wonder if it should be re-w
I really wouldn't expect there to be any kind of noticeable performance difference for something as trivial as this so surely it comes down to what gives you clear, more readable code. I my opinion that would be always assigning true.