Community
Participate
Working Groups
Building the selected file AST can be really slow. CRefactoring2 and RefactoringASTCache were introduced to fix that. BUT there is still an unresolved issue with shared AST concurrency, see bug 292851. Using CRefactoring2 would improve performance a lot and help with the index locking issue previously mentioned so I suggest that you keep an eye on the bug.
Also it should be possible to use SourceHeaderPartnerFinder and IASTTranslationUnit.getOriginatingTranslationUnit() instead of using ToggleNodeHelper.getSiblingFile
(In reply to comment #0) > Building the selected file AST can be really slow. CRefactoring2 and > RefactoringASTCache were introduced to fix that. BUT there is still an > unresolved issue with shared AST concurrency, see bug 292851. Using > CRefactoring2 would improve performance a lot and help with the index locking > issue previously mentioned so I suggest that you keep an eye on the bug. The concurrency issue with accessing shared AST has been resolved.
Fixed in master.