ZH version is available. Content is displayed in original English for accuracy.
Advertisement
Advertisement
⚡ Community Insights
Discussion Sentiment
33% Positive
Analyzed from 125 words in the discussion.
Trending Topics
#memory#dat#problem#still#arena#std#arenas#additional#fixed#length

Discussion (2 Comments)Read Original on HackerNews
Also: if you don't need the contiguity you can simply break up your dynamic array into linked buckets the same way the arena internally does with its own memory. Iteration and random access will still be fast.
https://ziglang.org/documentation/0.16.0/std/#std.heap.Arena...