Hacker News new | past | comments | ask | show | jobs | submit login

You can also put the x < i part in the loop's head and check in advance that x < 512. That way you can get rid of the inner if.



Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: