[YANGTOOLS-1222] Defer substatement search to effective instace Created: 07/Feb/21  Updated: 07/Feb/21  Resolved: 07/Feb/21

Status: Resolved
Project: yangtools
Component/s: parser
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
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: Parser Performance

 Description   

BoundStmtCtx.findSubstatementArgument() and hasSubstatement() are search methods very similar to what EffectiveStatement provides, in fact they are a strict subset of that.

Take advantage of this to perform a faster search without the need to look at isSupportedToBuildEffective().

 


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