Comment Comment by dklend122 There's work being done to solve this in Julia. See escapeanalysis.jl and the immutable array pr in base parent dklend122 4 years ago