Copy-on-Write in Swift: A Cool Thing You Don’t Really Need
Published in
May 24, 2024
In this Swift & iOS Basics episode, I explore the copy-on-write mechanism in Swift. Copy-on-write (CoW) can make value types’ memory usage more efficient by deferring the duplication of data or avoiding it altogether. But copy-on-write is not a silver bullet, and in this video, I explain the important considerations.