vector Memory Growth
std::vector typically doubles its capacity when it runs out of space. Why doesn't it grow by a fixed amount (e.g., 10 elements) instead?
Sign in to answer questions and track your progress
Sign Instd::vector typically doubles its capacity when it runs out of space. Why doesn't it grow by a fixed amount (e.g., 10 elements) instead?
Sign in to answer questions and track your progress
Sign In