fn shrinkAndFree(self: *Self, allocator: Allocator, new_len: usize) void
Reduce allocated capacity to new_len. May invalidate element pointers.
new_len
self: *Self,
allocator: Allocator,
new_len: usize,