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
AbstractSet::add() internally invokes AbstractCollection::add() which forwards to AbstractSet::offsetSet(). This flow causes AbstractCollection::contains() to be invoked twice which, for extremely large collections, can significantly impact performance.
AbstractSet::add() is slow for large collections.
AbstractSet::add()
internally invokesAbstractCollection::add()
which forwards toAbstractSet::offsetSet()
. This flow causesAbstractCollection::contains()
to be invoked twice which, for extremely large collections, can significantly impact performance.Background/problem
Proposal/solution
Alternatives
Additional context
The text was updated successfully, but these errors were encountered: