3 ms·
In what languages do maps shrink? You may be surprised.
by morelisp 4y ago
In what languages do maps shrink? You may be surprised.
- jayd16 4y agoC# has trim excess but I do t think Java does, ...just the two I checked. https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.dictionary-2.trimexcess?view=net-5.0#System_Collections_Generic_Dictionary_2_TrimExcess https://learn.microsoft.com/en-us/dotnet/api/system.collecti...