mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-26 12:20:42 +00:00
Merge DenseMapKeyInfo & DenseMapValueInfo into DenseMapInfo
Add a new DenseMapInfo::isEqual method to allow clients to redefine the equality predicate used when probing the hash table. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42042 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1225,7 +1225,7 @@ iterators in a densemap are invalidated whenever an insertion occurs, unlike
|
||||
map. Also, because DenseMap allocates space for a large number of key/value
|
||||
pairs (it starts with 64 by default), it will waste a lot of space if your keys
|
||||
or values are large. Finally, you must implement a partial specialization of
|
||||
DenseMapKeyInfo for the key that you want, if it isn't already supported. This
|
||||
DenseMapInfo for the key that you want, if it isn't already supported. This
|
||||
is required to tell DenseMap about two special marker values (which can never be
|
||||
inserted into the map) that it needs internally.</p>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user