summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2024-05-23 12:27:38 -0700
committerGitHub <noreply@github.com>2024-05-23 12:27:38 -0700
commit300663a190537cfd2692003dc4af0aebb904bde0 (patch)
treecbfc42050c771721332ef25105dce30e98170a2c /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parentf3d6db36f8c22ac87b20ac46ed2d6391c5af2108 (diff)
[memprof] Use std::move in toMemProfRecord (#93133)
std::move and reserve here result in a measurable speed-up in llvm-profdata modified to deserialize all MemProfRecords. The cycle count goes down by 7.1% while the instruction count goes down by 21%.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions