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. Value Types
  2. Copy-on-Write
  3. Structs
October 14, 2016