[D1] gc safety

Simen kjaeraas simen.kjaras at gmail.com
Wed Oct 13 10:29:26 PDT 2010


%u <e at ee.com> wrote:

>> Perhaps. Is there a way to explain it to me? Do you mean the first x
>> elements will be objects, and the rest will be size_ts that are not
>> pointers?
> Exactly that.

No. The GC only cares about whole blocks, not singular locations within
each. That said, there is a bug report with a GC that uses precise
scanning (http://d.puremagic.com/issues/show_bug.cgi?id=3463). As you
are using D1, I believe it should work for you.

-- 
Simen


More information about the Digitalmars-d-learn mailing list