Danger. Don’t Destroy Swift’s Performance with These mistakes
Perform well…
5 min readApr 7, 2023
You can write functions and statements that don’t add any value to your code (at least as far as the Swift compiler is concerned). Since Swift can’t simply skip these functions you might see your performance dropping off.
Let us prevent this, let us put mitigations in place now. How? Speed is important so let’s…