Am 08.04.2014 16:57, schrieb Steven Schveighoffer:Note, you can disable bounds checking on an expression basis by replacing this:arr[x] with this: arr.ptr[x] The only tricky part is if you have to slice, and you are using $: arr.ptr[x..$] doesn't work, you have to use: arr.ptr[x..arr.length]Is that only allowed in @system?
Probably. Is that an issue? Disabling bounds-checking in @safe code is a bad idea.
-Steve
