perf(import-compose): removed redundant cache invalidations and preindexed lookups

This commit is contained in:
Brit
2026-02-23 17:56:44 +01:00
parent 078a6028f0
commit d6e3c182fc
4 changed files with 77 additions and 62 deletions

View File

@@ -371,7 +371,6 @@ NodeTree importReclassXml(const QString& filePath, QString* errorMsg) {
auto it = classIds.find(ref.className);
if (it != classIds.end()) {
tree.nodes[nodeIdx].refId = it.value();
tree.invalidateIdCache();
resolved++;
} else {
qDebug() << "[ImportXML] Unresolved ref:" << ref.className << "for node" << ref.nodeId;