diff --git a/llvm/include/llvm/ADT/SmallPtrSet.h b/llvm/include/llvm/ADT/SmallPtrSet.h --- a/llvm/include/llvm/ADT/SmallPtrSet.h +++ b/llvm/include/llvm/ADT/SmallPtrSet.h @@ -41,7 +41,7 @@ /// sets are often small. In this case, no memory allocation is used, and only /// light-weight and cache-efficient scanning is used. /// -/// Large sets use a classic exponentially-probed hash table. Empty buckets are +/// Large sets use a classic quadratically-probed hash table. Empty buckets are /// represented with an illegal pointer value (-1) to allow null pointers to be /// inserted. Tombstones are represented with another illegal pointer value /// (-2), to allow deletion. The hash table is resized when the table is 3/4 or