Won a programming contest using D - Thank you for the tool!

safety0ff via Digitalmars-d digitalmars-d at puremagic.com
Tue Aug 19 19:14:51 PDT 2014


On Tuesday, 19 August 2014 at 17:39:13 UTC, Ivan Kazmenko wrote:
>
> It looks like I want to have most of my data under something 
> like GC.BlkAttr.NO_SCAN.  But I don't yet see a clean way to 
> introduce something like that in the code.

GC.BlkAttr.NO_INTERIOR can also be useful for eliminating false 
pointers pointing into large structures. It only works when you 
know that there is always a pointer to the base of the object 
while it is "alive."

N.B. That attribute is ignored for small allocations.


More information about the Digitalmars-d mailing list