[swift-users] Passing value types or members of value types?

Brent Royal-Gordon brent at architechies.com
Sun May 7 00:39:52 CDT 2017

> On May 6, 2017, at 10:34 PM, Daniel Dunbar via swift-users <swift-users at swift.org> wrote:
> To answer Kelvin's question, yes, the optimizer will be able to see through that code _assuming_ it can see the definition in a way it can optimize

Kelvin, you should definitely take Daniel's word over mine on whether there's an optimization for this. I believe the rest of my explanation is correct.

Brent Royal-Gordon

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-users/attachments/20170506/8530b230/attachment.html>

More information about the swift-users mailing list