can the julia compiler optimize code for the processor cache?
Most likely, not explicitly. I guess that is LLVM territory. This looks like a dangerous and too low level feature to worry in a language such as julia…
There may be some package or code pattern that handles this…
1 Like
The package LoopVectorization does this in some specific cases (mainly loop re-ordering). There are currently some discussions about how Julia could do some of this itself.
1 Like