You could use calloc. See e.g. Faster zeros with calloc and ArrayAllocators.jl
3 Likes
You could use calloc. See e.g. Faster zeros with calloc and ArrayAllocators.jl