[clang] [llvm] [clang][Sema] Use DenseMap for SpecialMemberCache (NFC) (PR #221304)
Fangrui Song via cfe-commits
cfe-commits at lists.llvm.org
Fri Sep 4 22:27:36 PDT 2026
MaskRay wrote:
Beside the FoldingSetNodeID size overhead, FoldingSet has slow lookup key (serialised into a FoldingSetNodeID), hash (external call, xxh3), and equality on a hit. However, it has faster growth/erase, but it's overall worse than DenseMap in this use case.
https://github.com/llvm/llvm-project/pull/221304
More information about the cfe-commits
mailing list