Skip to content

PooledHashSet(Of T) with different equality check. #49570

Discussion options

You must be logged in to vote

Yes. Call public static ObjectPool<PooledHashSet<T>> CreatePool(IEqualityComparer<T> equalityComparer) to create a pool wit that comparer. Then retrieve/return instances to that pool.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by AdamSpeight2008
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants