Community
Participate
Working Groups
M7 candidate. turned verbose on. For the 1.4.2 src.zip, the following change improved the time to compute the root path from 450ms to 170ms. optimization is to assume that most first level package names are already in the collection so check this first before doing any further analysis (since if it is already in the collection, we know we won't have to add it!) code snippet follows: if (! firstLevelPackageNames.contains(firstLevelPackageName)) { IStatus status = JavaConventions.validatePackageName(firstLevelPackageName); if (status.isOK () || status.getSeverity() == IStatus.WARNING) { firstLevelPackageNames.add(firstLevelPackageName); } }
Fixed and released in HEAD.
Verified for 3.1 RC1 with build I20050527-0010.