3 ms·
> Yes, Go maps never shrink. This is good for most use cases in practice. Why is it that every shortcoming of Go is spun by its advocates into something that i
by slantedview 4y ago
> Yes, Go maps never shrink. This is good for most use cases in practice.
Why is it that every shortcoming of Go is spun by its advocates into something that is actually a good thing?
- philosopher1234 4y agoWhy is it that haters of go refuse to engage with the actual argument? Edit: rephrasing your comment “why is it that every time I say something misleading about go people disagree with me?”
- morelisp 4y agoIn 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...