diff options
| author | aengelke <engelke@in.tum.de> | 2024-06-10 20:43:28 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-10 20:43:28 +0200 |
| commit | 2f9a80b7343606f62b3e907b888a8e9d17c0c551 (patch) | |
| tree | 955e7b85af460537021695cd08fedfeb822b1815 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | 77220823daa06c0e177d7571f73d9b69112861cc (diff) | |
[MC][NFC] Make ELFUniquingMap a StringMap (#95006)
This avoid 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 (>3%) for applications that
compile many small object files (e.g., functions in JIT compilers).
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
