Some nice new DMD slicing optimizations

Ilya Yaroshenko via Digitalmars-d digitalmars-d at puremagic.com
Fri Oct 7 01:04:44 PDT 2016


On Friday, 7 October 2016 at 06:30:32 UTC, rikki cattermole wrote:
> On 07/10/2016 7:07 PM, Walter Bright wrote:
>> [...]
>
> If there is bound checking shouldn't there be a check to 
> guarantee b and c and >= a.length?
>
> Otherwise, awesome!

The function is not safe. So there are no checks in release mode.


More information about the Digitalmars-d mailing list