Initial feedback for std.experimental.image

David Nadlinger via Digitalmars-d digitalmars-d at puremagic.com
Tue Jul 7 07:02:51 PDT 2015


On Tuesday, 7 July 2015 at 12:10:10 UTC, ponce wrote:
> Signed indices optimize better in loops because signed overflow 
> is undefined behaviour.
>
> http://stackoverflow.com/questions/18795453/why-prefer-signed-over-unsigned-in-c

Only in C/C++. In D, they are defined to overflow according to 
two's complement.

  — David


More information about the Digitalmars-d mailing list