data: increased project load and codeview performance

* rewrote searchnode to use map
* added local cache for parent node ids when creating the Hierarchy Cache.
* added indices to SqliteStorage to increase code view performance.
This commit is contained in:
malte_langkabel
2016-03-14 12:32:01 +01:00
parent 53d5fe6a06
commit f82da323b3
8 changed files with 85 additions and 32 deletions
@@ -556,8 +556,8 @@ std::shared_ptr<TokenLocationFile> CodeController::getTokenLocationOfParentScope
}
std::vector<CodeSnippetParams> CodeController::getSnippetsForErrorLocations(
std::vector<std::string>* errorMessages)
const {
std::vector<std::string>* errorMessages) const
{
TokenLocationCollection errorCollection = m_storageAccess->getErrorTokenLocations(errorMessages);
std::vector<CodeSnippetParams> snippets;