Cleverness of GC Scanning

David Nadlinger via Digitalmars-d digitalmars-d at puremagic.com
Fri Aug 7 10:54:12 PDT 2015


On Friday, 7 August 2015 at 17:23:18 UTC, deadalnix wrote:
> This attribute exists, but how much grinding in the type system 
> dmd and the runtime are doing ?

See 
https://github.com/D-Programming-Language/druntime/blob/master/src/rt/lifetime.d. The bits in ti.flags and ClassInfo that are tested there to set NO_SCAN should be emitted correctly by the compiler.

  — David


More information about the Digitalmars-d mailing list