Fast append optimization for the DOM parser
-------------------------------------------

                 Key: XERCESC-1735
                 URL: https://issues.apache.org/jira/browse/XERCESC-1735
             Project: Xerces-C++
          Issue Type: Improvement
          Components: DOM
    Affects Versions: 2.7.0
         Environment: any
            Reporter: Boris Kolpackov


The attached patch adds the appendChildFast function to the DOMParentNode 
internal interface which skips a number of actions and checks compared to the 
vanilla appendChild function that are unnecessary in the controlled environment 
of building a new DOM document. The patch also changes AbstractDOMParser to 
call appendChildFast instead of appendChild.

This change results in 25-30% parsing speed improvement depending on the 
workload used.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to