[YANGTOOLS-196] Data tree: partial indexing Created: 30/Jun/14 Updated: 10/Apr/22 Due: 31/Aug/14 Resolved: 03/Sep/14 |
|
| Status: | Resolved |
| Project: | yangtools |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | ||
| Reporter: | Robert Varga | Assignee: | Lukas Sedlak |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| Description |
|
When writing into the data tree, we eagerly create TreeNodes for the entire subtree. This is not necessary until there is a write touching the insides of the subtree. Implement partial indexing, where we do create TreeNodes only when we need them for writes. In read perspective, we do not need to create TreeNodes at all, as the top of the subtree is sufficient to represent its children from dependency tracking. |
| Comments |
| Comment by Vaclav Demcak [ 15/Jul/14 ] |
| Comment by Vaclav Demcak [ 18/Jul/14 ] |
| Comment by Lukas Sedlak [ 05/Aug/14 ] |