llvm-project/lldb/source/Interpreter
Pavel Labath 4d35d6b3b3 Change UniqueCStringMap to use ConstString as the key
Summary:
UniqueCStringMap "sorts" the entries for fast lookup, but really it only cares about uniqueness.  ConstString can be compared by pointer alone, rather than with strcmp, resulting in much faster comparisons.  Change the interface to take ConstString instead, and propagate use of the type to the callers where appropriate.

Reviewers: #lldb, clayborg

Reviewed By: clayborg

Subscribers: labath, jasonmolenda, lldb-commits

Differential Revision: https://reviews.llvm.org/D32316
Patch by Scott Smith <scott.smith@purestorage.com>.

llvm-svn: 301908
2017-05-02 10:17:30 +00:00
..
Args.cpp Delete some more dead includes. 2017-03-22 23:33:16 +00:00
CMakeLists.txt [CMake] Add accurate dependency specifications 2017-01-31 20:43:05 +00:00
CommandAlias.cpp Move classes from Core -> Utility. 2017-02-02 21:39:50 +00:00
CommandHistory.cpp Fix !N and !-N commands and add a test case. 2017-04-19 23:21:04 +00:00
CommandInterpreter.cpp Update GDB remote command regex for IPv6 2017-04-27 16:13:58 +00:00
CommandObject.cpp Move FileSpec from Host -> Utility. 2017-03-22 18:40:07 +00:00
CommandObjectRegexCommand.cpp Make CommandObject help getters/setters use StringRef. 2016-11-12 20:41:02 +00:00
CommandObjectScript.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
CommandObjectScript.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
CommandOptionValidators.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
CommandReturnObject.cpp Move classes from Core -> Utility. 2017-02-02 21:39:50 +00:00
OptionGroupArchitecture.cpp Delete some more dead includes. 2017-03-22 23:33:16 +00:00
OptionGroupBoolean.cpp Delete some more dead includes. 2017-03-22 23:33:16 +00:00
OptionGroupFile.cpp Delete some more dead includes. 2017-03-22 23:33:16 +00:00
OptionGroupFormat.cpp Delete some more dead includes. 2017-03-22 23:33:16 +00:00
OptionGroupOutputFile.cpp Delete some more dead includes. 2017-03-22 23:33:16 +00:00
OptionGroupPlatform.cpp Delete some more dead includes. 2017-03-22 23:33:16 +00:00
OptionGroupString.cpp Delete some more dead includes. 2017-03-22 23:33:16 +00:00
OptionGroupUInt64.cpp Delete some more dead includes. 2017-03-22 23:33:16 +00:00
OptionGroupUUID.cpp Delete some more dead includes. 2017-03-22 23:33:16 +00:00
OptionGroupValueObjectDisplay.cpp Delete some more dead includes. 2017-03-22 23:33:16 +00:00
OptionGroupVariable.cpp Delete some more dead includes. 2017-03-22 23:33:16 +00:00
OptionGroupWatchpoint.cpp Delete some more dead includes. 2017-03-22 23:33:16 +00:00
OptionValue.cpp Move StringList from Core -> Utility. 2017-03-21 18:25:04 +00:00
OptionValueArch.cpp Convert AutoComplete related code to StringRef. 2016-11-17 01:37:42 +00:00
OptionValueArgs.cpp Rewrite all Property related functions in terms of StringRef. 2016-11-17 18:08:12 +00:00
OptionValueArray.cpp Move classes from Core -> Utility. 2017-02-02 21:39:50 +00:00
OptionValueBoolean.cpp Move StringList from Core -> Utility. 2017-03-21 18:25:04 +00:00
OptionValueChar.cpp Move StringList from Core -> Utility. 2017-03-21 18:25:04 +00:00
OptionValueDictionary.cpp Re-add "demonstrate new Args API" 2016-11-22 17:10:15 +00:00
OptionValueEnumeration.cpp Change UniqueCStringMap to use ConstString as the key 2017-05-02 10:17:30 +00:00
OptionValueFileSpec.cpp Remove FileSpec::ReadFileContents. 2017-03-06 23:42:14 +00:00
OptionValueFileSpecLIst.cpp Move classes from Core -> Utility. 2017-02-02 21:39:50 +00:00
OptionValueFormat.cpp Move classes from Core -> Utility. 2017-02-02 21:39:50 +00:00
OptionValueFormatEntity.cpp Move StringList from Core -> Utility. 2017-03-21 18:25:04 +00:00
OptionValueLanguage.cpp Move classes from Core -> Utility. 2017-02-02 21:39:50 +00:00
OptionValuePathMappings.cpp Move FileSpec from Host -> Utility. 2017-03-22 18:40:07 +00:00
OptionValueProperties.cpp Change UniqueCStringMap to use ConstString as the key 2017-05-02 10:17:30 +00:00
OptionValueRegex.cpp Move classes from Core -> Utility. 2017-02-02 21:39:50 +00:00
OptionValueSInt64.cpp Move classes from Core -> Utility. 2017-02-02 21:39:50 +00:00
OptionValueString.cpp Delete some more dead includes. 2017-03-22 23:33:16 +00:00
OptionValueUInt64.cpp Move classes from Core -> Utility. 2017-02-02 21:39:50 +00:00
OptionValueUUID.cpp Move StringList from Core -> Utility. 2017-03-21 18:25:04 +00:00
Options.cpp Delete some more dead includes. 2017-03-22 23:33:16 +00:00
Property.cpp Don't allow direct access to StreamString's internal buffer. 2016-11-16 21:15:24 +00:00
ScriptInterpreter.cpp Move StringList from Core -> Utility. 2017-03-21 18:25:04 +00:00
embedded_interpreter.py *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00