Author :
Martin Mitas
Date :
2020-01-27 11:52:07
Hash :af1c0b11 Message :Change all aux. buffers growing factor to 1.5.
This is in general better in order to avoid heap fragmentation.
When growing a buffer N times with the old factor of two (and when
realloc() cannot just grow in-place), we create a gap 2^N-1 bytes
long, but asking for 2^N bytes. This ever-growing hard-to-reuse
gap can cause troubles to some heap allocators.
See e.g. https://github.com/facebook/folly/blob/master/folly/docs/FBVector.md