aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h
diff options
context:
space:
mode:
authorJeremy Morse <jeremy.morse@sony.com>2021-10-19 11:07:49 +0100
committerJeremy Morse <jeremy.morse@sony.com>2021-10-19 11:10:14 +0100
commit849b17949f18b5753592588a2290f2f3dde73ac0 (patch)
tree3c3387ef86ff3d40adb64d6b33e14c4416d68e2d /lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h
parent8bac18be0e45adc7b096375bf4f65635fb994df0 (diff)
downloadllvm-849b17949f18b5753592588a2290f2f3dde73ac0.zip
llvm-849b17949f18b5753592588a2290f2f3dde73ac0.tar.gz
llvm-849b17949f18b5753592588a2290f2f3dde73ac0.tar.bz2
[DebugInfo][InstrRef] Avoid un-necessary densemap copies and comparisons
This is purely a performance patch: InstrRefBasedLDV used to use three DenseMaps to store variable values, two for long term storage and one as a working set. This patch eliminates the working set, and updates the long term storage in place, thus avoiding two DenseMap comparisons and two DenseMap assignments, which can be expensive. Differential Revision: https://reviews.llvm.org/D111716
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h')
0 files changed, 0 insertions, 0 deletions