LDC 1.18.0-beta1

jmh530 john.michael.hall at gmail.com
Tue Sep 24 19:17:25 UTC 2019


On Tuesday, 24 September 2019 at 18:24:36 UTC, Ivan Butygin wrote:
> On Tuesday, 24 September 2019 at 17:49:13 UTC, jmh530 wrote:
>>
>
> About bind call overhead, bind object hold pointer to shared 
> payload, which is allocated via malloc. This payload has 
> function pointer (initially null).
> During compileDynamicCode call runtime will update this pointer 
> to generated code.
> Bind object opCall call this function pointer from payload.
>
> [snip]

That's very helpful. The bind stuff is making a little more sense 
to me now.

Is there a concern that ldc cannot inline these function pointers 
versus the normal function calls?


More information about the Digitalmars-d-announce mailing list