[ANN] FixedSizeArrays.jl: What Array probably should have been

Just tried this benchmark on the current versions of relevant packages (FixedSizeArrays.jl v1.3.0, Collects.jl v1.1.0, Julia v1.13.0-beta2), and according to the obtained timings it appears FixedSizeArray is now much faster than Array in both the “create vec” and the “create itr” categories.

Sibling thread on this forum for Collects.jl, which is doing the collecting for FixedSizeArrays.jl, is here:

Also, nitpick: the “small”/“static” types, the ones from StaticArrays.jl and SmallCollections.jl, are off-topic here. The “static” types depend on the iterator lengths, putting them in a quite different niche than is occupied by Array, FixedSizeArray or Memory.

8 Likes