[YANGTOOLS-128] Improve yang-data-impl interfaces Created: 02/Apr/14 Updated: 10/Apr/22 Resolved: 10/Jun/14 |
|
| Status: | Resolved |
| Project: | yangtools |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | ||
| Reporter: | Robert Varga | Assignee: | Robert Varga |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| Description |
|
Current interfaces require re-instantiating container maps for applying modifications. Improve the implementation to use persistent data structures, such that subsequent modifications cat be based on pre-existing data without the need to iterate through it. The core idea is that the backing structure will become a linked TrieMap, e.g. a CTrie with an additional index for retaining insertion order. This structure will support stable snapshots. |
| Comments |
| Comment by Robert Varga [ 27/May/14 ] |
|
https://git.opendaylight.org/gerrit/7432 Needs a bit more testing |