https://issues.apache.org/bugzilla/show_bug.cgi?id=53895
Priority: P2 Bug ID: 53895 Assignee: dev@tomcat.apache.org Summary: Performance solution for ImplicitObjectELResolver Severity: normal Classification: Unclassified Reporter: xs...@ebay.com Hardware: PC Status: NEW Version: trunk Component: Jasper Product: Tomcat 7 Created attachment 29391 --> https://issues.apache.org/bugzilla/attachment.cgi?id=29391&action=edit New ImplicitObjectELResolverImpl ImplicitObjectELResolver uses Arrays.binarySearch to check scope name. It isn't very efficient. It can be improved by using a map to hold the scope to scopeIndex. Such as, private static final Map<String, Integer> scopeMap = new HashMap<String, Integer>(); static { for (int i = 0; i < SCOPE_NAMES.length; i++) { scopeMap.put(SCOPE_NAMES[i], i); } } More detail please check out the attachment "ImplicitObjectELResolverImpl.java". -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org