aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Lex/ModuleMap.cpp
diff options
context:
space:
mode:
authorJeremy Morse <jeremy.morse@sony.com>2024-09-25 14:22:23 +0100
committerGitHub <noreply@github.com>2024-09-25 14:22:23 +0100
commit3f37c517fbc40531571f8b9f951a8610b4789cd6 (patch)
tree872cceb264a905e0a8ef3220b2a93fb084357317 /clang/lib/Lex/ModuleMap.cpp
parent4be1c19a9fbdff02044cd46b703c842bb7a6afdb (diff)
downloadllvm-3f37c517fbc40531571f8b9f951a8610b4789cd6.zip
llvm-3f37c517fbc40531571f8b9f951a8610b4789cd6.tar.gz
llvm-3f37c517fbc40531571f8b9f951a8610b4789cd6.tar.bz2
[NFC] Switch a number of DenseMaps to SmallDenseMaps for speedup (#109417)
If we use SmallDenseMaps instead of DenseMaps at these locations, we get a substantial speedup because there's less spurious malloc traffic. Discovered by instrumenting DenseMap with some accounting code, then selecting sites where we'll get the most bang for our buck.
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions