Skip to content

Conversation

deckarep
Copy link
Owner

@deckarep deckarep commented Mar 12, 2023

This branch is largely dedicated to an issue that got proposed that I lost track of during the refactor to Generics. Performance gains can be had with the smarter use of capacity hint upon instantiation the sets.

  • Originally proposed by @fy0
  • Utilize map capacity hint on make invocations as an optimization upon instantiation of Sets
  • Fixes some inconsistencies around doc comments
  • Additionally adds a RemoveAll method

Any takers on CRing this? I'll leave it open for a few days and merge if nobody bites.

Cheers

-deckarep

…or set instantiation to utilize capacity hint where possible
@deckarep deckarep merged commit 456a496 into main Mar 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant