aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectSyntax.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2016-02-19 21:09:26 +0000
committerDavid Blaikie <dblaikie@gmail.com>2016-02-19 21:09:26 +0000
commit852c02baf9bdb0705b7a77cf01d6a1035bc9e979 (patch)
treea6de799ef76038959e1c16c57e4300fe19687565 /lldb/source/Commands/CommandObjectSyntax.cpp
parent361a7bb338fdf97dab2823550b512a75d610fafa (diff)
downloadllvm-852c02baf9bdb0705b7a77cf01d6a1035bc9e979.zip
llvm-852c02baf9bdb0705b7a77cf01d6a1035bc9e979.tar.gz
llvm-852c02baf9bdb0705b7a77cf01d6a1035bc9e979.tar.bz2
llvm-dwp: Improve performance (N^2 to amortized N) by using a MapVector instead of linear searches through a vector
Figured this would be a problem, but didn't want to jump the gun - large inputs demonstrate it pretty easily (mostly for type units, but might as well do the same for CUs too). A random sample 6m27s -> 27s change. Also, by checking this up-front for CUs (rather than when building the cu_index) we can probably provide better error messages (see FIXMEs), hopefully providing the name of the CUs rather than just their signature. llvm-svn: 261364
Diffstat (limited to 'lldb/source/Commands/CommandObjectSyntax.cpp')
0 files changed, 0 insertions, 0 deletions