Community
Participate
Working Groups
This method is directly used by ModelManager.determineIfOnBuildPath and indirectly by DLTKCore.createSourceModule() so also by H2Index. In JDT this method is based on entire buildPath() persisted after resolve in ProjectInfo. DLTK use different approach, it ignore resolvedBuildPath saved in ProjectInfo and build own (ScriptProject#getResourceOnlyResolvedBuildpath) based on "con" entiries only, so on larger projects where buildpath is more complicated than 3 patches this take some time and slowing down entire searching. For example I see 10% cpu time for entire PDT content assist on my test project (slowest part is call to ScriptProject#addToResult in resolveBuildPath method). Because I don't know why ModelManager cannot just use ScriptProject#getResolvedBuildpath I have a proposition to persist result from ScriptProject#getResourceOnlyResolvedBuildpath in ProjectInfo on second field.