[
https://issues.apache.org/jira/browse/XERCESC-1735?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12519436
]
Boris Kolpackov commented on XERCESC-1735:
------------------------------------------
Uploaded a new version of the patch which fixes a bug in the original version.
The xerces-2.7 branch with this patch passes the sanityTest.pl.
> 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
> Attachments: fast-append.patch
>
>
> 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]