Learnt a fascinating, non-obvious (to me) fact that resizing a vector's memory by a factor of 2 is optimally bad https://github.com/facebook/folly/blob/master/folly/docs/FBVector.md