commit | ce38a825e5163c3b9eafad08b20d1266948e370e | [log] [tgz] |
---|---|---|
author | Sebastian Zarnekow <sebastian.zarnekow@gmail.com> | Sun May 19 17:02:42 2019 +0200 |
committer | Andrey Loskutov <loskutov@gmx.de> | Thu Jun 27 16:25:50 2019 +0200 |
tree | 31f99872e85d8bf0f29f5f475f2ed1f7d4439e4f | |
parent | 135b4845f62f2545b0f8f1d92be3529266be2e6b [diff] |
Bug 544921 - [performance] Poor performance with large source files This patch uses sorted arrays in the CompilationUnitScope to improve the runtime behavior with large source files where a large number of dependent types exist and need to be recorded in the qualifiedReferences, simpleNameReferences and rootReferences. Lookup of memberTypes by name from a ReferenceBinding does use binary search logic, too (similar approach as with fields). Sorting of char[][] is extracted to SortedCharArrays. CompoundNameVector is removed and replaced by SortedCompoundNameVector. SimpleNameVector is removed and replaced by SortedSimpleNameVector. Change-Id: Ib66c7f0399cdea0c5558a15bf835406ceb828988 Signed-off-by: Sebastian Zarnekow <sebastian.zarnekow@gmail.com> Also-By: Simeon Andreev <simeon.danailov.andreev@gmail.com> 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.