It might be faster but the if()s are more for safety checks to prevent infinite loops if possible.