# \#bounds-check

**URL:** https://discourse.julialang.org/tag/bounds-check/1413.md

[Latest](https://discourse.julialang.org/latest.md) · [Categories](https://discourse.julialang.org/categories.md) · [Tags](https://discourse.julialang.org/tags.md)

---

## [Removing bounds checking for HPC - \`--check-bounds=unsafe\`?](https://discourse.julialang.org/t/removing-bounds-checking-for-hpc-check-bounds-unsafe/124897)

<div class="topic-metadata">

**Author:** [@johnomotani](https://discourse.julialang.org/u/johnomotani)\
**Replies:** 51\
**Last updated:** [February 1, 2025, 4:05pm UTC](https://discourse.julialang.org/t/removing-bounds-checking-for-hpc-check-bounds-unsafe/124897 "2025-02-01T16:05:26Z")

</div>

One of Julia’s main purposes is to enable high-performance computing at scale - it’s on the front page (Ecosystem → Parallel Computing at The Julia Programming Language)! However, apparently --check-bounds=no is becoming…

---

## [Bounds check performance](https://discourse.julialang.org/t/bounds-check-performance/121741)

<div class="topic-metadata">

**Author:** [@shatanzikou](https://discourse.julialang.org/u/shatanzikou)\
**Replies:** 2\
**Last updated:** [October 25, 2024, 4:11pm UTC](https://discourse.julialang.org/t/bounds-check-performance/121741 "2024-10-25T16:11:40Z")

</div>

The SciML Style guide reads that in Julia after ver1.9, bounds check will reduce performance. But I didn’t see others recommended this, there is no performance reducing in my test. I want to know why it is not recommende…

---

## [Why is the bounds-checking not elided in isassigned for \`SlowSubArray\`s despite an inbounds annotation?](https://discourse.julialang.org/t/why-is-the-bounds-checking-not-elided-in-isassigned-for-slowsubarray-s-despite-an-inbounds-annotation/110019)

<div class="topic-metadata">

**Author:** [@jishnub](https://discourse.julialang.org/u/jishnub)\
**Replies:** 0\
**Last updated:** [February 10, 2024, 7:12am UTC](https://discourse.julialang.org/t/why-is-the-bounds-checking-not-elided-in-isassigned-for-slowsubarray-s-despite-an-inbounds-annotation/110019 "2024-02-10T07:12:03Z")

</div>

Function definition julia\> function mycopyto!(dest::AbstractArray, src::AbstractArray) iterdest, itersrc = eachindex(dest), eachindex(src) @inbounds for I in iterdest if isassigned(s…

---

## [What does @inbounds actually mean?](https://discourse.julialang.org/t/what-does-inbounds-actually-mean/102592)

<div class="topic-metadata">

**Author:** [@johnomotani](https://discourse.julialang.org/u/johnomotani)\
**Replies:** 8\
**Last updated:** [August 8, 2023, 12:40pm UTC](https://discourse.julialang.org/t/what-does-inbounds-actually-mean/102592 "2023-08-08T12:40:16Z")

</div>

In the discussion on https://github.com/JuliaLang/julia/issues/48245 it was mentioned that Just to be clear, the reason we want to remove it is it requires us to compile the code more conservatively, leading to signifi…
