[PATCH] D126785: Cache file IDs of symbols in emitStabs for faster sorting
Michael Eisel via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 1 08:14:28 PDT 2022
michaeleisel added inline comments.
================
Comment at: lld/MachO/SyntheticSections.cpp:924
+ return a.second < b.second;
});
----------------
We could also use bucket sort instead, but I just went with this. It reduces sorting time by ~75%
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D126785/new/
https://reviews.llvm.org/D126785
More information about the llvm-commits
mailing list