Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-15169

Optimize CustomTagLibComponent.checkExtended() method

XMLWordPrintable

      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.

            scabanovich Viacheslav Kabanovich (Inactive)
            scabanovich Viacheslav Kabanovich (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: