Swift5 Slower than Swift4

Detail in:

2 Likes

In my experience the most common source of issues like this is accidentally using NSString versions of things rather than String versions of them, which now incurs some additional overhead from transcoding. I've made a note to see if I can reproduce the issue myself and profile it, but if you have an instruments time profile run or something similar handy that would be wonderful.

3 Likes
Terms of Service

Privacy Policy

Cookie Policy