[YANGTOOLS-1041] Index SchemaNode substatements lazily 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

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

Issue Links:
Blocks
is blocked by YANGTOOLS-1042 ModuleEffectiveStatement fails to ind... Resolved

 Description   

There is a slight impedance between SchemaNode and EffectiveStatement interfaces, where SchemaNode provides a view of a certain class of substatements – for example UnknownSchemaNode, NotificationDefinition, etc.

Since our statement implementations have all statements and we do not always use these views, we can make these derived collections lazily-computed with the use of VarHandles (to eliminate volatile reads).


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