DMD 0.175 release

Dave Dave_member at pathlink.com
Tue Nov 28 09:03:00 PST 2006


== Quote from Walter Bright (newshound at digitalmars.com)'s article
> Dave wrote:
> > For the stack allocation, I'm wondering if in future versions
it would
> > be possible to suppress the call to _d_callfinalizer if there
is no dtor
> > to call? (sometimes the RAII isn't needed, but the speed is).
> The problem is the monitor needs to be freed, too.

Could that part be inlined (if there isn't a dtor)?

if (p && ((cast(void**)p)[1]) _d_monitorrelease(cast(Object)p);




More information about the Digitalmars-d-announce mailing list