[swift-users] Object size on heap
howard.lovatt at gmail.com
Tue Mar 22 22:04:52 CDT 2016
I am writing custom collection classes and trying to assess which one is
better, both in terms of performance and memory usage. Won't be used in
'real' code, just to guide development.
On 23 March 2016 at 03:52, Jordan Rose <jordan_rose at apple.com> wrote:
> On Mar 22, 2016, at 8:47, Joe Groff via swift-users <swift-users at swift.org>
> On Mar 21, 2016, at 9:31 PM, Howard Lovatt <howard.lovatt at gmail.com>
> How do you call swift_class_getInstanceExtents, it doesn't show in Xcode?
> It's not provided as API by default. You can do this as an unsupported
> func swift_class_getInstanceExtents(theClass: AnyClass)
> -> (negative: UInt, positive: UInt)
> This has probably gone too far to hide it already, but, um, what do you
> plan to do with this information?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-users