commit | f3f6231fb5a86c98aa88eba7dbf2df87cc141e0d | [log] [tgz] |
---|---|---|
author | Benjamin Kramer <benny.kra@googlemail.com> | Sat Feb 23 16:56:22 2013 +0000 |
committer | Benjamin Kramer <benny.kra@googlemail.com> | Sat Feb 23 16:56:22 2013 +0000 |
tree | f709bc4bc89e5d9a1a858144927d1a68a3db810a | |
parent | b063ef0222a99ee168631afa7b5a882d494b8fde [diff] |
Shrink SmallPtrSet. It gets swapped a lot which copies the whole small part. Testing shows that it's empty in >99% of the cases and I couldn't find a case where it contained more than 2 elements. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@175967 91177308-0d34-0410-b5e6-96231b3b80d8