[jbosstools-issues] [JBoss JIRA] (JBIDE-15169) Optimize CustomTagLibComponent.checkExtended() method
Viacheslav Kabanovich (JIRA)
jira-events at lists.jboss.org
Wed Jul 10 13:14:20 EDT 2013
Viacheslav Kabanovich created JBIDE-15169:
---------------------------------------------
Summary: Optimize CustomTagLibComponent.checkExtended() method
Key: JBIDE-15169
URL: https://issues.jboss.org/browse/JBIDE-15169
Project: Tools (JBoss Tools)
Issue Type: Task
Components: jsp/jsf/xml/html source editing
Reporter: Viacheslav Kabanovich
Assignee: Viacheslav Kabanovich
Fix For: 4.2.x
This method is used to filter away extension attributes that do not extend 'normally' declared attributes for current node.
It is invoked for each attribute collected initially in AbstractComponent.getAttributes(...) methods. Current implementation of checkExtended() requests for all attribute definitions in all libraries at each call. That makes N*N dependency of the number of queries on the number N of attribute definitions.
We can cache the set of names of non-extension attributes obtained at the first invocation.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list