llvm-project/lldb/source/Plugins/Language/CPlusPlus
Enrico Granata 26935d9a09 Cache the incremental iterators as you traverse the list, so that you don't have to keep recomputing them
If memory turns out to be a problem, which I don't think it will in practice because all these ValueObjects, we'd be keeping alive anyway, I can always resort to caching the farthest-most iterator only

This gains us an order of magnitude in my benchmark, cutting the time to traverse a 1500-elements list from 22 seconds down to 2

llvm-svn: 254762
2015-12-04 20:12:46 +00:00
..
CMakeLists.txt Move the C++ data formatters to the C++ language plugin 2015-09-04 21:01:18 +00:00
CPlusPlusLanguage.cpp Remove two #if0ed regions of code that we were using for an experiment but don't really want 2015-10-29 23:53:34 +00:00
CPlusPlusLanguage.h Fix Clang-tidy modernize-use-override warnings in source/Plugins/Language; other minor fixes. 2015-10-20 01:10:59 +00:00
CxxStringTypes.cpp Enable the StringPrinter to have prefixes that are strings instead of just a single character; and also introduce a comparable suffix mechanism 2015-10-07 02:06:48 +00:00
CxxStringTypes.h Move the C++ data formatters to the C++ language plugin 2015-09-04 21:01:18 +00:00
LibCxx.cpp Fix an issue where LLDB would truncate summaries for string types without producing any evidence thereof 2015-11-04 00:02:08 +00:00
LibCxx.h Move the C++ data formatters to the C++ language plugin 2015-09-04 21:01:18 +00:00
LibCxxInitializerList.cpp Fix Clang-tidy modernize-use-override warnings in source/Plugins/Language; other minor fixes. 2015-10-20 01:10:59 +00:00
LibCxxList.cpp Cache the incremental iterators as you traverse the list, so that you don't have to keep recomputing them 2015-12-04 20:12:46 +00:00
LibCxxMap.cpp Fix Clang-tidy modernize-use-override warnings in source/Plugins/Language; other minor fixes. 2015-10-20 01:10:59 +00:00
LibCxxUnorderedMap.cpp Fix Clang-tidy modernize-use-override warnings in source/Plugins/Language; other minor fixes. 2015-10-20 01:10:59 +00:00
LibCxxVector.cpp Fix Clang-tidy modernize-use-override warnings in source/Plugins/Language; other minor fixes. 2015-10-20 01:10:59 +00:00
LibStdcpp.cpp Fix libstdc++ data formatters on Ubuntu 15.10 x86_64 2015-10-22 00:23:38 +00:00
LibStdcpp.h Fix libstdc++ data formatters on Ubuntu 15.10 x86_64 2015-10-22 00:23:38 +00:00
Makefile Fix Makefile build 2015-09-05 20:01:56 +00:00