On Wednesday, 12 August 2015 at 12:48:53 UTC, Kagamin wrote:
Remove allocation?

My test isn't good enough for that. With scoped classes, the backend can actually devirtualize, inline and DCE pretty much everything except the one side effect I added.

This is because it knows how the vtable is initialized, unlike with GC'd classes with _d_newclass. There is another optimization opportunity here...


Regards
Iain

Reply via email to