> FSAs intentionally don’t conform to Collection, because multi-dimensional 
> arrays shouldn’t have to conform to a linear (by nature, hence the name 
> “Sequence”) standard, at least by default.
I strongly oppose and think it is a really bad idea:
Even if arrays are modelled multi-dimensional, there's always a canonical way 
to iterate through their elements, and this is an essential feature of this 
data type.

Do you have any example for an existing optimisation that is important enough 
to cripple all fixed size arrays?
Those would not only be used to represent pixel buffers on a graphics card…

Also, if FSA have only one dimension (that's still my preference), all those 
issues are can be solved easily in the multidimensional structure build on top 
of the array.
_______________________________________________
swift-evolution mailing list
swift-evolution@swift.org
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to