performance - Does comments in Swift slow compile time? -
i have noticed when have class large amounts of comments (200+ lines) navigating class , auto complete while working on file slows down significantly.
does having comments slow compile time?
this not duplicate
in theory yes.
the compiler needs read comments delete them. imho part quick (for usual source code files) , should have tiny impact on whole compilation time.
but again, it's opinion bases on common sense.
Comments
Post a Comment