Help understanding allocation on scalar function and possible ways to avoid it

https://discourse.julialang.org/t/allocations-in-large-function/7559/2?u=kristoffer.carlsson

4 Likes