Swift Performance when frequently passed Struct, Struct wrapping class (COW), Class

前端 未结 0 1613
谎友^
谎友^ 2021-02-07 14:45

For an object that needs to be passed around frequently, and it can have a property with complex object or large memory footprint.

For example, let\'s consider a token,

相关标签:
回答
  • 消灭零回复
提交回复
热议问题