This commit was created on GitHub.com and signed with GitHub’s verified signature.
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.