Arrays and other containers should support allocation strategies like square root.
This means when an array for example resizes, it will resize to the closest square root step, reducing reallocations exponentially but potentially using more memory in average.
At the moment the default is to only use the exact memory needed.
Arrays and other containers should support allocation strategies like square root.
This means when an array for example resizes, it will resize to the closest square root step, reducing reallocations exponentially but potentially using more memory in average.
At the moment the default is to only use the exact memory needed.