[swift-evolution] [Review] SE-0136: Memory Layout of Values
razielim at gmail.com
Tue Aug 9 09:05:23 CDT 2016
> On 8 Aug 2016, at 04:18, Dave Abrahams <dabrahams at apple.com> wrote:
> on Sun Aug 07 2016, Karl <razielim-AT-gmail.com <http://razielim-at-gmail.com/>> wrote:
>>> * What is your evaluation of the proposal?
>> Although if I was nitpicking I prefer the name “ofInstance” (as in the
>> stdlib private function) to “ofValue”.
> The problem with “ofInstance” is that a class instance will be reported
> to be the same size as Int. Most people think of a class instance as
> the place where its stored properties live, not the reference.
Is there a way to get the size of the stored properties? I had a look but couldn’t find one.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-evolution