Skip to content

infinum/iOS-Swift-Ownership

Repository files navigation

Swift Ownership

Associated source code for Swift Ownership blog post. Blog post is available here.

Various performance benchmarks from the blog post

  • Performance impact of dynamic exclusivity checking:

Borrow

  • Performance impact of retain:

Retain

  • Performance impact of copying big struct:

Copy

  • Impact of using borrowing keyword in init when ownership is not required

Borrow

  • Impact of using consuming keywoard in a function that requires ownership:

Consuming

  • Impact of using consume operator when transferring ownership:

Consume

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages