dimanche 1 janvier 2017

Is there an noticeable difference between "if(x==false)x=true;" and "x=true"?

Which code fragment is faster?

if(a==false)a=true;

and

a=true;

Aucun commentaire:

Enregistrer un commentaire