diff options
author | Florian Hahn <flo@fhahn.com> | 2021-11-10 13:56:22 +0000 |
---|---|---|
committer | Florian Hahn <flo@fhahn.com> | 2021-11-10 13:56:22 +0000 |
commit | cd8aa234fdd2a8436ba0830e0a4f340f90c6f6f3 (patch) | |
tree | 88e347bb31a1ce71fedfe53afea1da7f4e3daa7f /lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h | |
parent | 0609eb1b32c26d5c3a440e413ea79191151ecf10 (diff) | |
download | llvm-cd8aa234fdd2a8436ba0830e0a4f340f90c6f6f3.zip llvm-cd8aa234fdd2a8436ba0830e0a4f340f90c6f6f3.tar.gz llvm-cd8aa234fdd2a8436ba0830e0a4f340f90c6f6f3.tar.bz2 |
[llvm-reduce] Use DenseSet instead of std::set (NFC).
When reducing functions with very large basic blocks (~ almost 1 million
BBs), the majority of time is spent maintaining the order in the std::set
for the basic blocks to keep.
In those cases, DenseSet<> is much more efficient. Use it instead.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h')
0 files changed, 0 insertions, 0 deletions