fn shrinkAndFree(self: *Self, allocator: Allocator, new_len: usize) void

Shrinks the underlying Entry array to new_len elements and discards any associated index entries. Reduces allocated capacity.

Parameters

self: *Self,
allocator: Allocator,
new_len: usize,