3 ms·
Don't use type inference, and modularize the codebase into separate static libraries. That should reduce the amount of full rebuilds, and should make builds fas
by sixstringtheory 5y ago
Don't use type inference, and modularize the codebase into separate static libraries. That should reduce the amount of full rebuilds, and should make builds faster. (ETA: also try to avoid generics.)
Ofc, probably a lot harder to go back and redo a huge legacy codebase where you still have new deadlines to meet, but for folks just starting out, these should be guiding principles in a Swift codebase if you care about compilation time.