Unverified Commit 05e87a58 authored by aengelke's avatar aengelke Committed by GitHub
Browse files

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.
parent 28253426
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment