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

No public API yet. For entertainment purposes, you could use the runtime's 
swift_class_getInstanceExtents function, passing in the class object for the 
instance.

-Joe
_______________________________________________
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users

Reply via email to