[YANGTOOLS-1043] Eliminate duplicate DataSchemaNode indexes Created: 25/Nov/19  Updated: 27/Nov/19  Resolved: 27/Nov/19

Status: Resolved
Project: yangtools
Component/s: parser
Affects Version/s: None
Fix Version/s: 4.0.3, 3.0.7

Type: Task Priority: Medium
Reporter: Robert Varga Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

It seems we can eliminate 'childNodes' Map in statements which are SchemaTreeAware by reusing schema tree index. The lookup then becomes an additional check to ascertain the looked up node is in fact a DataSchemaNode.


Generated at Wed Feb 07 20:55:01 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.