We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
According to documentation:
spzeros([type,]m[,n]) .... No storage will be allocated for nonzero values during construction
However, it does allocate:
function spallo(n) for i in 1:n spzeros(Int, 10) end end @allocated spallo(10) 1280 julia> @allocated spallo(100) 12800