(Available since version 1.0)
DynamicArray::shrink — Shrinks the internal array if desirable
If less than a quarter of the internal array is being used, the size is halved.
This function has no parameters.
No value is returned.