[swift-evolution] [Review] SE-0136: Memory Layout of Values

Dave Abrahams dabrahams at apple.com
Tue Aug 9 12:20:56 CDT 2016

on Tue Aug 09 2016, Karl <swift-evolution at swift.org> wrote:

>> 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.

Not that I know of.


More information about the swift-evolution mailing list