summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authoraengelke <engelke@in.tum.de>2024-06-11 08:39:42 +0200
committerGitHub <noreply@github.com>2024-06-11 08:39:42 +0200
commit05e87a583ce2680fc7309491c8bc23fd0e3bd049 (patch)
tree062b337c43fb749d8c515bd481669d39a07551c5 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent282534268e3be0949fcac1589b1004bc5672b434 (diff)
Reland "[MC][NFC] Make ELFUniquingMap a StringMap (#95006)" (#95030)
This avoids std::map, which is slow, and uses a StringMap. Section name, group name, linked-to name and unique id are encoded into the key for fast lookup. This gives a measurable performance boost for applications that compile many small object files (e.g., functions in JIT compilers). --- Now also the second case works properly. That's what happens when you do that last refactoring without re-running all tests... sorry.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions