You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
What's Changed
Utilizes map capacity hint in all constructors to minimize memory allocation churn with instantiation and population of Set - originally proposed by @fy0
New *WithSize constructors: NewThreadUnsafeSetWithSize and NewSetWithSize to allow for minimizing allocation churn and unnecessary resizing of internal state.