Major performance problem with std.array.front()

Adam D. Ruppe destructionator at gmail.com
Fri Mar 7 05:56:46 PST 2014


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.


More information about the Digitalmars-d mailing list