avoid extra variable during void pointer cast
Moritz Maxeiner via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sun May 14 15:05:34 PDT 2017
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.
More information about the Digitalmars-d-learn
mailing list