[swift-users] Object size on heap

Jens Alfke jens at mooseyard.com
Mon Mar 21 13:59:25 CDT 2016

> On Mar 19, 2016, at 4:53 PM, Howard Lovatt via swift-users <swift-users at swift.org> wrote:
> Is there a way to find out how big an object is on the heap?

Yes, the sizeof() <http://swiftdoc.org/v2.2/func/sizeof/> function.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-users/attachments/20160321/9ba07a96/attachment.html>

More information about the swift-users mailing list