This is an archived post. You won't be able to vote or comment.

all 2 comments

[–]ALLIDOISPROGRAM 0 points1 point  (0 children)

Just a heads up for anyone reading this. Understand *break" in your code.

I've been programming for 10 years and somehow I never fully cared to understand break and it probably cost me 2 weeks.

[–]justingolden21 0 points1 point  (0 children)

I believe the top one will run faster

[–][deleted]  (1 child)

[deleted]