Note that in the current implementation, working with large
StaticArrays puts a lot of stress on the compiler, and becomes slower thanBase.Arrayas the size increases. A very rough rule of thumb is that you should consider using a normalArrayfor arrays larger than 100 elements.
1 Like