summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2024-07-28 01:37:12 -0700
committerGitHub <noreply@github.com>2024-07-28 01:37:12 -0700
commiteee620b890ad7e2e139d44fee95bd5049fa48f5c (patch)
tree74a7ce678ad442337f917e49b7c9158ca8613e91 /lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface
parent4202634886b9b8f1ee74713a8ed8c86941891853 (diff)
[LLParser] Use SmallVector instead of std::vector (#100916)
The use of SmallVector here saves 1.03% of heap allocations during the compilation of X86ISelLowering.cpp.ll, a .ll version of X86ISelLowering.cpp. The 8 inline elements cover greater than 99% of invocations encountered here. While I am it, the patch changes the parameter type to ArrayRef to allow callers to use any vector type.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface')
0 files changed, 0 insertions, 0 deletions