Continuation passing style vs. wrapper objects in dmd

Ola Fosheim Grostad ola.fosheim.grostad at gmail.com
Wed May 26 05:18:57 UTC 2021


On Wednesday, 26 May 2021 at 04:59:36 UTC, Ola Fosheim Grostad 
wrote:
>> int i = stat(stringz(name).ptr, &statbuf));
>
> This cannot...

Well, actually it could use alloca if you are 100% sure stringz 
is inlined, but it would be bad in a loop.



More information about the Digitalmars-d mailing list