Comment on Which is faster? while(1) {} or while(2) {}Comments−justifier12yi hope the answer the interviewer was looking for was: "i'm unsure.. i usually check the byte code when i am optimising my work"; stead a flat "No" (the original poster claimed the interviewer said the run times were unequal)
Comments
i hope the answer the interviewer was looking for was: "i'm unsure.. i usually check the byte code when i am optimising my work"; stead a flat "No" (the original poster claimed the interviewer said the run times were unequal)