data: increased parse and graph assembly performance
* removed header search in subdirectories of header search paths * cache file node ids in Storage for faster lookup * retrieve node names from SearchIndex * fixed addNodeAndAllChildren also called for member edges * added check if node already present in addEdgeAndAllChildren
This commit is contained in:
@@ -51,6 +51,9 @@ public:
|
||||
ParserClient();
|
||||
virtual ~ParserClient();
|
||||
|
||||
virtual void startParsing() = 0;
|
||||
virtual void finishParsing() = 0;
|
||||
|
||||
virtual void prepareParsingFile() = 0;
|
||||
virtual void finishParsingFile() = 0;
|
||||
|
||||
|
||||
@@ -31,6 +31,8 @@ void TaskParseCxx::enter()
|
||||
{
|
||||
m_sourcePaths.push(path.absolute().str());
|
||||
}
|
||||
|
||||
m_client->startParsing();
|
||||
}
|
||||
|
||||
Task::TaskState TaskParseCxx::update()
|
||||
@@ -83,6 +85,10 @@ Task::TaskState TaskParseCxx::update()
|
||||
|
||||
void TaskParseCxx::exit()
|
||||
{
|
||||
MessageStatus("Building search index").dispatch();
|
||||
|
||||
m_client->finishParsing();
|
||||
|
||||
FileRegister* fileRegister = m_parser.getFileRegister();
|
||||
|
||||
MessageFinishedParsing(
|
||||
|
||||
Reference in New Issue
Block a user