Another interesting difference

David Nadlinger code at klickverbot.at
Thu Dec 12 01:37:22 PST 2013


On 12 Dec 2013, at 10:00, bearophile wrote:
> Do you know why ldc2 puts array bound tests inside fun()? The array 
> 'a' inside fun() is a fixed size array, so there is no need to verify 
> at run-time that 0 1 2 are within the array bounds.

I don't know why we are, but we shouldn't: 
https://github.com/ldc-developers/ldc/issues/553

David


More information about the digitalmars-d-ldc mailing list