On Sunday, 14 May 2017 at 22:00:58 UTC, Stanislav Blinov wrote:
[...]

Yep, it's an alias to template function instantiation, that is, concrete function - a symbol.

Yes, my bad :(


But of course, it *is* going to be called on every "dereference". GDC optimizes the call away starting at -O1, LDC needs -O2. DMD makes temporaries :)

Which just reinforces my personal mantra: Develop with dmd, release with ldc or gdc.

Reply via email to