>> Is there a way to find out how big an object is on the heap? > > Yes, the sizeof() function.
I think he's asking for the size of the object itself. For a reference type, `sizeof()` gives you the size of the reference. -- Brent Royal-Gordon Architechies _______________________________________________ swift-users mailing list swift-users@swift.org https://lists.swift.org/mailman/listinfo/swift-users