Implement shrinking in Map resize
puzpuzpuz opened this issue ยท 4 comments
puzpuzpuz commented
See golang/go#47643
costela commented
The current code still mentions the "unshrinkability" of the map:
// Also note that, unlike in sync.Map, the underlying hash table used
// by MapOf never shrinks and only grows on demand. However, this
// should not be an issue in many cases since updates happen in-place
// leaving no tombstone entries.
AFAIU #11 removed this limitation, correct?
puzpuzpuz commented
The current code still mentions the "unshrinkability" of the map
Yes, that's a left over. Will fix it in the evening.