What do @inbounds and @inline do?

Just making sure you saw the section on performance annotations? I was going to write something, but I don’t think I can explain it any better than this:

https://docs.julialang.org/en/latest/manual/performance-tips/#man-performance-annotations-1

There’s also this similar topic; a bit old, but still relevant I think:

6 Likes