Skip to content
Snippets Groups Projects
Commit b21dc601 authored by Lukas Stadler's avatar Lukas Stadler
Browse files

use “previousLookups” to speed up FrameSlotChangeMonitor.invalidateAllNames

parent d1621a4b
No related branches found
No related tags found
No related merge requests found
......@@ -391,9 +391,11 @@ public final class FrameSlotChangeMonitor {
}
}
target.lookupResults.clear();
target.previousLookups.clear();
for (FrameDescriptor sub : target.subDescriptors) {
invalidateAllNames(getMetaData(sub));
if (!target.previousLookups.isEmpty()) {
target.previousLookups.clear();
for (FrameDescriptor sub : target.subDescriptors) {
invalidateAllNames(getMetaData(sub));
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment