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:
I have been trying to step up my game in Julia by thinking more parallel and speed to make the fastest version of my code, and I find myself faced with a number of not-so-thoroughly-documented options so I have a few questions:
I understand that @inbounds drops checking the bounds when accessing an array element, but why would not using that be ever a use case? I assume every functioning piece of code should not have any array cross its bounds. So after testing my code, and making sure no out…
6 Likes