3 ms·
I don't know why this is downvoted, it's true. There is no automatic copy on write optimization in Swift. It's a manual optimization that expensive types like A
by jshier 4y ago
I don't know why this is downvoted, it's true. There is no automatic copy on write optimization in Swift. It's a manual optimization that expensive types like Array implement manually.
- meindnoch 4y ago>I don't know why this is downvoted, it's true. I know, right? Some people are pretty insecure…