Skip to content

Commit

Permalink
Add emit bounds check docs (JuliaLang#39724)
Browse files Browse the repository at this point in the history
  • Loading branch information
charleskawczynski committed Feb 18, 2021
1 parent a163d3e commit f485fd5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions doc/src/devdocs/boundscheck.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,3 +89,7 @@ Note this hierarchy has been designed to reduce the likelihood of method ambigui
to make `checkbounds` the place to specialize on array type, and try to avoid specializations
on index types; conversely, `checkindex` is intended to be specialized only on index type (especially,
the last argument).

## Emit bounds checks

Julia can be launched with `--check-bounds={yes|no}` to emit bounds checks always or never (ignoring declarations).

0 comments on commit f485fd5

Please sign in to comment.