On 8/4/14, 7:27 AM, Matthias Bentrup wrote:
Should this semantics extend to array bounds checking, i.e. after the statementfoo[5] := 0; can the optimizer assume that foo.length >= 6 ?
Yes, definitely. -- Andrei
Andrei Alexandrescu via Digitalmars-d Mon, 04 Aug 2014 08:06:17 -0700
On 8/4/14, 7:27 AM, Matthias Bentrup wrote:
Should this semantics extend to array bounds checking, i.e. after the statementfoo[5] := 0; can the optimizer assume that foo.length >= 6 ?
Yes, definitely. -- Andrei