Does having old commented code and a lot of whitespaces in code slow down performance?

Does having a lot of white space between chunks of code and empty lines in code slow down the performance of the application?

I have a tendency to space apart my code quite a bit, and I am wondering if it affects it negatively. Also, I have a lot of commented code that I commented out when I made changes, although I keep it around in case I ever have to go back to the old way. What are some other tips that could speed up performance?


No performance degradation at all. Comments are not parsed by the compiler, they are usually removed in the lexical analysis.

Need Your Help

Java: Error creating bean with name 'loadTimeWeaver'?

java spring maven

I am currently working on a maven project but every time i try to deploy my war i get the exception below:

Doctrine Foreign Key Issues Symfony

doctrine foreign-keys symfony2 dql

I'm getting a list of 'team' entities where each 'team' entity has two foreign keys to a 'user' entity. When a 'team' entity is created from a query, the entity will also end up containing all data...