John Arthorne/Ottawa/IBM@IBMCA Sent by: eclipse-pmc-bounces@xxxxxxxxxxx
03/14/2007 04:26 PM
Please respond to
[eclipse-pmc] API Request: IResource.findMaxProblemSeverity
Add the following method to IResource
public int findMaxProblemSeverity(String type, boolean includeSubTypes,
This method returns the maximum severity of all markers of the given type
within the receiver resource. This is an important optimization for
clients such as decorators that need to quickly determine the maximum problem
severity for a large resource hierarchy. This optimization is not
possible using existing API calls. Platform UI, JDT UI, and Debug
have uses for this optimized API.
None. This is a new method, and no existing API is affected.
RISKS OF NOT SUPPLYING THIS SUPPORT
Clients will not be able to optimize computation of marker severity.
Benchmarking shows that this new API creates 91% less garbage objects,
and is roughly 3-4x faster than equivalent code using existing API.
eclipse-pmc mailing list