diff options
author | Matthias Braun <matze@braunis.de> | 2016-02-15 21:38:42 +0000 |
---|---|---|
committer | Matthias Braun <matze@braunis.de> | 2016-02-15 21:38:42 +0000 |
commit | acd531c9535f0dcfb63082da64ff965253e67396 (patch) | |
tree | 7589add88c252e37c8490dc5dfdea1fbbd4fa76e /lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp | |
parent | 4e89611168993a2c4eac7f1f0f50c700c348a9e5 (diff) | |
download | bcm5719-llvm-acd531c9535f0dcfb63082da64ff965253e67396.tar.gz bcm5719-llvm-acd531c9535f0dcfb63082da64ff965253e67396.zip |
SmallPtrSet: Avoid initializing Array in the small case.
This patch avoids the initial memset at the cost of making iterators
slightly more complex. This should be beneficial as most SmallPtrSets
hold no or only a few elements, while iterating over them is less
common.
Differential Revision: http://reviews.llvm.org/D16672
llvm-svn: 260913
Diffstat (limited to 'lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp')
0 files changed, 0 insertions, 0 deletions