I am writting a chess program, so speed is a need.
Now I have the choice of printf every information that the program is calculating when is thinking in its turn.
I can show 100 lines/sec, or 2 lines/sec.
Of couse, I would prefer 100 lines/sec if performance is not affected.
Will printf slow down program performance? how much?