3 ms·
Eh, at the point you're tuning the growth factor, you might consider just not using a dynamically sized array
by adrusi 6y ago
Eh, at the point you're tuning the growth factor, you might consider just not using a dynamically sized array
- eru 6y agoDepends on whether you are talking about tuning the growth factor for a single instance, or whether you are talking about tuning the default growth factor in general. Eg Python has put a lot of thought into their dynamic array (and dict) growth factors.