Glossary: Swift Beyond the Basics
copy-on-write
Copies of an array, dictionary or string share one block of storage until one of them changes, which makes passing collections cheap.
Glossary: Swift Beyond the Basics
Copies of an array, dictionary or string share one block of storage until one of them changes, which makes passing collections cheap.