Danger. Don’t Destroy Swift’s Performance with These mistakes

Perform well…

Steven Curtis

--

Photo by Kolleen Gladden on Unsplash

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…

--

--