[YANGTOOLS-1233] Maintain a SchemaInferenceStack in SchemaTracker Created: 11/Feb/21 Updated: 14/Feb/21 Resolved: 14/Feb/21 |
|
| Status: | Resolved |
| Project: | yangtools |
| Component/s: | data-impl |
| Affects Version/s: | None |
| Fix Version/s: | 7.0.0 |
| Type: | Improvement | Priority: | Medium |
| Reporter: | Robert Varga | Assignee: | Robert Varga |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Σ Remaining Estimate: | Not Specified | Remaining Estimate: | Not Specified |
| Σ Time Spent: | Not Specified | Time Spent: | Not Specified |
| Σ Original Estimate: | Not Specified | Original Estimate: | Not Specified |
| Issue Links: |
|
|||||||||||||||
| Sub-Tasks: |
|
|||||||||||||||
| Epic Link: | Get rid of SchemaNode.getPath() | |||||||||||||||
| Description |
|
SchemaTracker acts as a common tracker for yang.model.api equivalence, tracking arguments for things like SchemaContextUtil – which inherently need SchemaNode.getPath() for corner cases. Maintain a SchemaInferenceStack inside SchemaTracker, which should improve performance and remove some code duplication due to SchemaInfereceStack.enterDataTree() being available. |