commit | 7a7d8f1c3d71e40b54a57675cbf6d30b6721e7e9 | [log] [tgz] |
---|---|---|
author | Andrey Loskutov <loskutov@gmx.de> | Thu Dec 24 14:31:52 2020 +0100 |
committer | Andrey Loskutov <loskutov@gmx.de> | Thu Dec 24 20:21:28 2020 +0100 |
tree | 8590f648b1284db108da8b016e57d8c59e90e210 | |
parent | bebc9dd3d7b151420486d277b8803193dd5e0242 [diff] |
Bug 569915 - Search References in Hierarchy scope uses linear search for workspace matches Replaced array of IResource objects with Set of String paths generated from those resources - that allows constant lookup time and awoids memory waste. - there is no need to use resourcePath.startsWith() - the only possible candidates are *.java files (both for search string/set content). - elements[i].getFullPath().toString() is used for every resource in the set and every search candidate, resulting in N² complexity and extra CPU/memory overhead on IPath to String conversion. Change-Id: Ibf88a9128f74f843158c9c60b86951ceac064dcd Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
This is the core part of Eclipse's Java development tools. It contains the non-UI support for compiling and working with Java code, including the following:
For more information and important links, refer to the [JDT wiki page] 1 or the [JDT project overview page] 2.