precise gc?

Thiez thiezz at gmail.com
Sat Nov 10 16:45:56 PST 2012


On Saturday, 10 November 2012 at 22:52:56 UTC, Nick Sabalausky 
wrote:
> On Sat, 10 Nov 2012 23:17:41 +0100
> eskimo <jfanatiker at gmx.at> wrote:
>
>> Hey party people!
>> 
>> What is the current state? Is it enough to store a pointer in a
>> ptrdiff_t variable instead of a pointer for the GC to ignore 
>> it or is
>> my current trick of simply inverting its value required?
>> 
>
> I'm not sure I understand why you would hide a pointer from the 
> GC.

It might happen by accident, like when you're doing something 
'clever' like using them good old fashioned xor-linked lists...


More information about the Digitalmars-d mailing list