[YANGTOOLS-199] Codecs: performance optimization Created: 02/Jul/14  Updated: 10/Apr/22  Resolved: 04/Aug/14

Status: Resolved
Project: yangtools
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement
Reporter: Robert Varga Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Issue Links:
Duplicate
duplicates YANGTOOLS-233 Design Stream Normalized Node Writer ... Resolved

 Description   

org.opendaylight.yangtools.yang.data.impl.codec package is heavily used by both NETCONF and RESTCONF and it contains suboptimal code, such as unnecessary string splits, copies, etc.

Audit the package and optimize it.



 Comments   
Comment by Robert Varga [ 04/Jul/14 ]

The initial optimization round has been completed. The next step is to create a SAXSource which can be sourced by a data.api tree, thus eliminating the need to go through DOM to create XMLs.

Comment by Robert Varga [ 04/Aug/14 ]

The basic optimization is done, real improvements will come from BUG-1437 and subsequent implementation of stream interfaces.

Generated at Wed Feb 07 20:52:33 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.