Hacker News .hnnew | past | comments | ask | show | jobs | submitlogin

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.


>I don't know why this is downvoted, it's true.

I know, right? Some people are pretty insecure…




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: