Optimizes the allocated capacity as much as possible.
Mutating operation that shrinks the capacity of the map.
Optimizes the allocated capacity as much as possible.