[swift-evolution] [Review] SE-0136: Memory Layout of Values
Karl
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?
>>
>> +1
>>
>> 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...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160809/9a1ef255/attachment.html>
More information about the swift-evolution
mailing list