Could we support something similar to nim's compilation option pragmas [1]:
```
{.push checks: off.}
# compile this section without runtime checks as it is speed critical
# ... some code ...
{.pop.} # restore old settings
```
in D could look like:
```
pragma(push, "-noboundscheck -O -release");
// compile this section with specified flags as it's critical
```