Peter Keller created XMLBEANS-619:
-------------------------------------

             Summary: Performance enhancement for interface extension generation
                 Key: XMLBEANS-619
                 URL: https://issues.apache.org/jira/browse/XMLBEANS-619
             Project: XMLBeans
          Issue Type: Improvement
          Components: Binding
    Affects Versions: Version 5.1.0
            Reporter: Peter Keller


I have found another performance enhancement: at these two places new instances 
of {{org.apache.xmlbeans.impl.config.Parser}} are created repeatedly for the 
same combination of Java source files and classpath.

[https://github.com/apache/xmlbeans/blob/7dabbf1227023b3938f512632d5a750201ff2a3c/src/main/java/org/apache/xmlbeans/impl/config/BindingConfigImpl.java#L204]

https://github.com/apache/xmlbeans/blob/7dabbf1227023b3938f512632d5a750201ff2a3c/src/main/java/org/apache/xmlbeans/impl/config/BindingConfigImpl.java#L216

When there are lots of interface extensions, the performance hit is quite 
significant.

I will make a pull request on GitHub



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to