VariantPointer

Nordlöw via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Apr 20 13:07:31 PDT 2016


On Wednesday, 20 April 2016 at 16:08:32 UTC, Lass Safin wrote:
> core.memory.GC.setAttr can set attributes for a block of 
> memory, with which you can set the attribute NO_SCAN, which as 
> it implies, forces that no scan be done in the particular block 
> of memory.
> This can be used to insure that the GC doesn't mark blocks not 
> alive as alive.

Is this needed

- *only* for regions allocated with GC.malloc or
- *also* for memory allocated with non malloc/calloc/realloc?


More information about the Digitalmars-d-learn mailing list