[swift-users] performance question

Седых Александр se-a at mail.ru
Tue Dec 12 09:15:57 CST 2017


Hello.

For example we have

Class A {}
Struct B {}

And code 'let b = B()' will do much faster than code 'let a = A()'
And therefore code 'let d = Date()' is fast, because Date is struct?
And I can use it in huge cycles fearlessly?




-- 
Alexandr Sedykh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-users/attachments/20171212/7f10df16/attachment.html>


More information about the swift-users mailing list