diff options
author | Keno Fischer <kfischer@college.harvard.edu> | 2015-12-03 21:27:59 +0000 |
---|---|---|
committer | Keno Fischer <kfischer@college.harvard.edu> | 2015-12-03 21:27:59 +0000 |
commit | eb59d468d9af54bf096a985b42ee583f088aa0c6 (patch) | |
tree | bd445a2b9dbe56c7a90c0ea1bed77b68d5408031 /lldb/packages/Python/lldbsuite/test/expression_command/options/foo.cpp | |
parent | 5e8701c356a25b18715f0f25ed4521cdc8a05b15 (diff) | |
download | bcm5719-llvm-eb59d468d9af54bf096a985b42ee583f088aa0c6.tar.gz bcm5719-llvm-eb59d468d9af54bf096a985b42ee583f088aa0c6.zip |
[RuntimeDyld] DenseMap -> std::unordered_map
DenseMap is most applicable when both keys and values are small.
In this case, the value violates that assumption, causing quite
significant memory overhead. A std::unordered_map is more appropriate
in this case (or at least fixed the memory problems I was seeing).
Differential Revision: http://reviews.llvm.org/D14910
llvm-svn: 254651
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/options/foo.cpp')
0 files changed, 0 insertions, 0 deletions