Generally speaking, how much does the use of Serial.print and Serial.println messages slow down a program? What about a lot of //code comments?
I realize there's some overhead with every line of code, but is it worth stripping out all of my helpful debug statements and comments? I would prefer to leave the statements in place, but don't know if their presence could be impairing my robot's responsiveness.
Project: Using a Mega 2650 and an Uno to build two line following robots. I use a lot of Serial.println messages for monitoring (via serial cable) what the program is doing and have a lot of comments in the code.
TIA for any feedback! -potus98