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:
@@ -0,0 +1,21 @@
|
||||
#ifndef SQLITE_INDEX_H
|
||||
#define SQLITE_INDEX_H
|
||||
|
||||
#include <string>
|
||||
#include "sqlite/CppSQLite3.h"
|
||||
|
||||
class SqliteIndex
|
||||
{
|
||||
public:
|
||||
SqliteIndex(const std::string& indexName, const std::string& indexTarget);
|
||||
~SqliteIndex();
|
||||
|
||||
void createOnDatabase(CppSQLite3DB& database);
|
||||
void removeFromDatabase(CppSQLite3DB& database);
|
||||
|
||||
private:
|
||||
std::string m_indexName;
|
||||
std::string m_indexTarget;
|
||||
};
|
||||
|
||||
#endif // SQLITE_INDEX_H
|
||||
Reference in New Issue
Block a user