Displaying 1 result from an estimated 1 matches for "smalldenseset".
2016 Oct 14
2
RFC: Reducing the number of set classes in ADT
tl;dr: I think we have too many different set classes. They have incompatible
APIs and surprising behavior. I think we can reduce their number substantially.
Dear all,
The following is a subset of the set classes we have in ADT:
* DenseSet
* SmallDenseSet (https://reviews.llvm.org/D25628)
* SetVector
* SmallSetVector
* SmallSet
* SmallPtrSet
* StringSet
* FoldingSet
* ContextualFoldingSet
* FoldingSetVector
Every one of these classes has quirks. Here are some particularly bad ones:
* SmallSet falls back to std::set<T> when it runs o...