Currently Static Arrays throws an error if the size type is anything other than Int64. Considering the size of Arrays is much smaller, is it possible to support other types such as UInt8, Int8, etc?
1 Like
No, the type parameter must be an Int
value. But that’s perfectly OK. Keep in mind the type parameter exists only at compilation time, there’s no run time cost to it.
Similar complaints are already present on the StaticArrays Github:
3 Likes