diff options
author | Jeremy Morse <jeremy.morse@sony.com> | 2024-09-25 14:22:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-25 14:22:23 +0100 |
commit | 3f37c517fbc40531571f8b9f951a8610b4789cd6 (patch) | |
tree | 872cceb264a905e0a8ef3220b2a93fb084357317 /clang/lib/Lex/ModuleMap.cpp | |
parent | 4be1c19a9fbdff02044cd46b703c842bb7a6afdb (diff) | |
download | llvm-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