[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 |
||
| Issue Links: |
|
||||||||
| 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. |