Swiftweekly.github.io: [171] Issue #171 - October 22, 2020

Created on 9 Oct 2020  路  12Comments  路  Source: SwiftWeekly/swiftweekly.github.io

To contribute to this issue, simply leave a comment here. Please also review our contributing guidelines.

The current draft for this issue in _drafts/. If you want to contribute directly, feel free to open a pull request.

current issue full issue notes

Most helpful comment

https://twitter.com/Catfish_Man/status/1318448928048623616 + thread

Apropos of nothing (馃槆) I think it鈥檚 time for another refresher on copy-on-write values in Swift

  • not programmer visible, appears to always copy

  • not the same thing as pass by value / value semantics but a behind the scenes optimization of them

  • not automatic for your types

All 12 comments

https://twitter.com/Catfish_Man/status/1318448928048623616 + thread

Apropos of nothing (馃槆) I think it鈥檚 time for another refresher on copy-on-write values in Swift

  • not programmer visible, appears to always copy

  • not the same thing as pass by value / value semantics but a behind the scenes optimization of them

  • not automatic for your types

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jessesquires picture jessesquires  路  6Comments

jessesquires picture jessesquires  路  6Comments

jessesquires picture jessesquires  路  4Comments

jessesquires picture jessesquires  路  10Comments

jessesquires picture jessesquires  路  9Comments