[YANGTOOLS-428] InMemoryDataTreeCandidate getModificationType speedup Created: 19/Mar/15 Updated: 10/Apr/22 Resolved: 30/Mar/15 |
|
| 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 |
|
The internal (logical) and external (physical) transitions are calculated on-demand when a client requests it. Determining how a MERGE maps onto WRITE/SUBTREE_MODIFIED can take up to 4 instanceof checks. It seems this field can be cached in the ModifiedNode when SchemaAwareApplyOperation runs, so that we do not have to perform any additional analysis. |
| Comments |
| Comment by Robert Varga [ 22/Mar/15 ] |
|
https://git.opendaylight.org/gerrit/16957 (infra and hooks) |