More radical ideas about gc and reference counting
Walter Bright via Digitalmars-d
digitalmars-d at puremagic.com
Mon May 12 10:17:26 PDT 2014
On 5/12/2014 4:35 AM, bearophile wrote:
> I suggested to add an optional method named "onGC" to unions that if present is
> called at run-time by the GC to know what's the real type of stored data, to
> make tracing more precise.
Unions of pointers are so rare in actual code that treating them conservatively
is not a big problem.
More information about the Digitalmars-d
mailing list