"foreach(i, dchar c; s)" vs "decode"

Jonathan M Davis jmdavisProg at gmx.com
Tue Nov 27 04:01:01 PST 2012


On Tuesday, November 27, 2012 12:47:19 monarch_dodra wrote:
> On Tuesday, 27 November 2012 at 09:15:02 UTC, Dmitry Olshansky
> > Don't forget the -O -noboundscheck. As some things are safe and
> > thus always have bounds check.
> 
> I though "noboundscheck" only had an effect on code marked
> "@system"...?

Nope. It's for @safe code. -release removes bounds checking from @system code 
but not from @safe code. -noboundscheck removes it completely.

- Jonathan M Davis


More information about the Digitalmars-d mailing list