summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp
diff options
context:
space:
mode:
authorPreston Gurd <preston.gurd@intel.com>2013-01-25 15:18:54 +0000
committerPreston Gurd <preston.gurd@intel.com>2013-01-25 15:18:54 +0000
commit0959bb707dd0ab28da18f98cd9da60b36be87d7b (patch)
treeb8537dabadbf1030cc097627995c776866a86eda /lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp
parente8f83dbbd895493b7e8bbf2d7624103a1cb6ad6c (diff)
downloadbcm5719-llvm-0959bb707dd0ab28da18f98cd9da60b36be87d7b.tar.gz
bcm5719-llvm-0959bb707dd0ab28da18f98cd9da60b36be87d7b.zip
This patch aims to reduce compile time in LegalizeTypes by using SmallDenseMap,
with an initial number of elements, instead of DenseMap, which has zero initial elements, in order to avoid the copying of elements when the size changes and to avoid allocating space every time LegalizeTypes is run. This patch will not affect the memory footprint, because DenseMap will increase the element size to 64 when the first element is added. Patch by Wan Xiaofei. llvm-svn: 173448
Diffstat (limited to 'lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud