Function FlatMap.shrinkToFit

Requests the Vector to reduce its capacity to fit its length.

void shrinkToFit (
  const bool reallocate = true
) scope;

More

btl.vector.Vector.shrinkToFit