History log of /external/llvm/unittests/ADT/SparseMultiSetTest.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
421db34270ca7d5a08b571713a5d9c83ed07b872 22-Jan-2013 NAKAMURA Takumi <geek4civic@gmail.com> ADT/SparseMultiSetTest.cpp: Try to appease cygwin-clang on stage2, take two. [-Wsign-compare]

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173144 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/ADT/SparseMultiSetTest.cpp
19f24454b516042b618298522e79bf9e6fa5ccbd 22-Jan-2013 NAKAMURA Takumi <geek4civic@gmail.com> ADT/SparseMultiSetTest.cpp: Try to appease cygwin-clang (libstdc++-4.5) on stage2. [-Wsign-compare]

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173127 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/ADT/SparseMultiSetTest.cpp
afe77f33b2a361ed0d001596dcdde0e16d57abee 21-Jan-2013 Michael Ilseman <milseman@apple.com> Introduce a new data structure, the SparseMultiSet, and changes to the MI scheduler to use it.

A SparseMultiSet adds multiset behavior to SparseSet, while retaining SparseSet's desirable properties. Essentially, SparseMultiSet provides multiset behavior by storing its dense data in doubly linked lists that are inlined into the dense vector. This allows it to provide good data locality as well as vector-like constant-time clear() and fast constant time find(), insert(), and erase(). It also allows SparseMultiSet to have a builtin recycler rather than keeping SparseSet's behavior of always swapping upon removal, which allows it to preserve more iterators. It's often a better alternative to a SparseSet of a growable container or vector-of-vector.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173064 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/ADT/SparseMultiSetTest.cpp