You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "Boris Kolpackov (JIRA)" <xe...@xml.apache.org> on 2008/03/03 17:32:50 UTC
[jira] Resolved: (XERCESC-1735) Fast append optimization for the
DOM parser
[ https://issues.apache.org/jira/browse/XERCESC-1735?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Boris Kolpackov resolved XERCESC-1735.
--------------------------------------
Resolution: Fixed
Fix Version/s: 2.8.0
Applied to the trunk.
> 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: 3.0.0
> Environment: any
> Reporter: Boris Kolpackov
> Fix For: 2.8.0, 3.0.0
>
> 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: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org