Damus
note1va0y5...
Boktor profile picture
I wouldn't say comments have a lot of impact. Computers are plenty fast nowadays and reading a few extra kilobytes of text would not cause any noticeable slowdown. Besides, if the code is compiled to an executable file or an intermediate representation, the comments almost always get left out of the result, so the comments will not cause any runtime slowdown in that case.

The main benefit of getting rid of superfluous comments is improving the code's readability, which is likely a bigger timesaver than the computer not having to read a little text.