On Fri Nov 11 20:47:36 2022 +0000, Esme Povirk wrote:
I'm not sure I fully understand this bit. I feel like the end result (assuming you're not starting from 0) is going to be `new_capacity = *capacity * 2`, or just `new_capacity = element_count` if that's too small. But maybe I'm missing something.
Oh actually, I really don't get it. When would you *ever* want to allocate max_capacity?