Major performance problem with std.array.front()

Dicebot public at dicebot.lv
Fri Mar 7 06:04:51 PST 2014


On Friday, 7 March 2014 at 13:56:48 UTC, Adam D. Ruppe wrote:
> On Friday, 7 March 2014 at 04:19:16 UTC, Walter Bright wrote:
>> I'd rather fix the compiler's codegen than add a pragma.
>
> The codegen isn't broken, the current this pointer behavior is 
> needed for full compatibility with the C ABI. It would be opt 
> in to an ABI tweak that the caller needs to be aware of rather 
> than an traditional optimization where the outside world would 
> never know.

We don't need C ABI compatibility for stuff that is not 
extern(C), do we?


More information about the Digitalmars-d mailing list