HashMap::shrink_to_fit states "Shrinks the capacity of the map as much as possible.". Often, this is called to free up unused memory allocations. By calling vacuum here, this aligns with the intent
This also adds shrink_to and shrink_to_fit to ExpiringSet
HashMap::shrink_to_fit states "Shrinks the capacity of the map as much as possible.". Often, this is called to free up unused memory allocations. By calling vacuum here, this aligns with the intent
This also adds shrink_to and shrink_to_fit to ExpiringSet