LIBC++ Container classes use known bad 2X growth policy

Hello Everyone,

LIBC++ STL container growth policy is 2X which saves CPU but can be horrible for RAM and VA space. Can this be changed to 1.5X?

Reference documentation on why 2X is bad can be found in the links below.

There’s also this thread on comp.lang.c++, but the above article has the math proof that none of the other articles I have seen have.!topic/comp.lang.c++.moderated/asH_VojWKJw%5B1-25%5D

If you’re really interested, this article goes into more detail.