Using a Custom Length Vector type to define function Parameters

Please note that you also benchmark the creation of the vector in this case. If you want to exclude this, then you can use interpolation:

julia> @btime Particle($((1,2,3)))
julia> @btime Particle($([1,2,3]))

(also posting code as text enclosed in ``` is generally preferred)