How the GC distinguishes code from data

%u wfunction at hotmail.com
Fri Jan 7 13:39:20 PST 2011


> None what so ever.

Huh.. then what about what is said in this link?
http://d.puremagic.com/issues/show_bug.cgi?id=5326#c1

I was told that void[] could contain references, but that ubyte[] would not, and
that the GC would need to scan the former but not the latter. Is that wrong?

Thank you!


More information about the Digitalmars-d-learn mailing list