precise gc?
    Kapps 
    opantm2+spam at gmail.com
       
    Sat Nov 10 23:11:44 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.
For weak references mainly. For example, caching, weak event 
subscribers, and a fair few other things.
    
    
More information about the Digitalmars-d
mailing list