On Fri, 14 Nov 2014 23:23:17 +0000
IgorStepanov via Digitalmars-d <[email protected]> wrote:

> What does the NO_INTERIOR flag?
it stops GC to acknowledge pointers inside allocated area as anchors.
i.e. if there is no pointer to the head (first address) of allocated
memory, it is assumed to be garbage.

this way we have much less "false pointers", and GC not doing
pointer->block conversions.

for buckets we certainly has "head pointer" and can't have pointers to
bucket elements without "head pointer". so it's safe to tell GC that it
shouldn't do unnecessary work.

Attachment: signature.asc
Description: PGP signature

Reply via email to