3 ms·
What’s the difference between this and other dynamic array implementations? I thought they were all data/length/capacity headers with exponential resizing. I k
by fovc 3y ago
What’s the difference between this and other dynamic array implementations? I thought they were all data/length/capacity headers with exponential resizing.
I know when using realloc the old buffer is recycled unlike with this arena, but that seems like more of an arena vs. Malloc distinction, no?
In contrast the hash map discussion was more interesting to me because it’s a different data structure that’s explicitly arena friendly