Why does the capacity of a vector increase by a factor of 1.5?

60 views Asked by At

I'm studying about vector with C++.

so, As you know from the title, I don't know why the capacity of a vector increase by a factor of 1.5.

Among many, many numbers, why is it 1.5 times?

I think it has to do with time complexity, but I don't know the exact reason.

0

There are 0 answers