Skip to content

Comment on Which is faster? while(1) {} or while(2) {}parent

Comments

The author of the question stated that the interviewer said that while(1) was faster. Probably the interviewer really wanted to get into the evaluation matters. Questions like this, especially during work interviews, make me think that interviewers read some "fun facts" somewhere and decided to ask them during the interview instead of actually evaluating the candidate's skill. Sorry for the rant.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.