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
It all depends on the data type. Assigning booleans is faster than first comparing them. But that may not be true for larger value-based datatypes.