DIP60: @nogc attribute
Steven Schveighoffer via Digitalmars-d
digitalmars-d at puremagic.com
Tue Apr 22 10:35:20 PDT 2014
On Tue, 22 Apr 2014 13:22:19 -0400, Ola Fosheim Grøstad
<ola.fosheim.grostad+dlang at gmail.com> wrote:
> On Tuesday, 22 April 2014 at 16:58:23 UTC, Kapps wrote:
>> iOS now on 64-bit processors doesn't necessarily use a hashtable
>> for refcounting. Basically, only 33 bits of the 64-bit pointer
>> are used to actually refer to an address, then 19 of the
>> remaining bits are used to store an inline reference count.
>
> I am sure you are right, but how does that work? Do you have a link?
I think what he's saying is the 19 bits are an offset into the global ref
count container. Some sentinel value means "lookup the pointer in a
hashtable."
-Steve
More information about the Digitalmars-d
mailing list