You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure if this is feasible, but when one is using a tuple-of-Ints as a parameter, it would be nice to be able to use length and prod work. Then one could have deleted several type parameters from the definition of fixed-size arrays in #7568. For example, the definitions might have been
abstract AbstractFixedArray{T,SZ} <: DenseArray{T,length(SZ)}
immutable FixedArrayI{T,SZ} <: AbstractFixedArray{T,SZ}
data::NTuple{prod(SZ),T}
end
immutable FixedArrayM{T,SZ} <: AbstractFixedArray{T,SZ}
data::Array{T,length(SZ)}
end
saving 2 and 1 parameters, respectively.
The text was updated successfully, but these errors were encountered:
I'm not sure if this is feasible, but when one is using a tuple-of-Ints as a parameter, it would be nice to be able to use
length
andprod
work. Then one could have deleted several type parameters from the definition of fixed-size arrays in #7568. For example, the definitions might have beensaving 2 and 1 parameters, respectively.
The text was updated successfully, but these errors were encountered: