Julia Programming Language
Fastest way of getting a long zero vector?
General Usage
stevengj
March 14, 2024, 6:01pm
2
You could use
calloc
. See e.g.
Faster zeros with calloc
and ArrayAllocators.jl
3 Likes
show post in topic
Related topics
Topic
Replies
Views
Activity
Faster zeros with calloc
Performance
array
26
3904
March 23, 2022
[ANN] ArrayAllocators.jl v0.3 composes with OffsetArrays.jl v1.12.1+ for faster zeros with offset indexing
Package Announcements
announcement
4
896
June 30, 2022
Could fill! be twice as fast?
Internals & Design
13
2279
May 15, 2017
Performance of resize! vs pre-allocating with zeros(...)
Performance
9
1111
April 29, 2022
What about an `undefs` function in `Base`?
General Usage
feature-request
64
3150
January 24, 2023