I’m planning on using structs to avoid passing too many variables to functions and having messy code. All my variables will have very defined types. Would this be a good way to do it, performance-wise?
mutable struct thing
a::Float64
b::Array{StaticArrays.SVector{3,Float64}}
c::Array{StaticArrays.SVector{Int}} # this one can have 3 or 4 elements in the SArray. Not sure how to declare that
d::Array{Float64}
end
Thanks!
Fair enough!