Swift Talk #20 Understanding Value Type Performance 18:51

In this episode we wrap NSMutableData in a struct while maintaining value semantics. Then we implement copy-on-write to make it efficient and discuss how the standard library uses the same approach.

  1. Structs
  2. Value Types
  3. Copy-on-Write
October 14, 2016