Closed
Description
- libc++ and libstdc++ use 2x
- MSVC, Java, boost, etc. all use 1.5x
Using a number lower than the golden ratio is supposed to play better with allocator pools and reduce memory fragmentation.
https://crntaylor.wordpress.com/2011/07/15/optimal-memory-reallocation-and-the-golden-ratio/