[YANGTOOLS-925] QNameToStatementDefinition.get() without a QName Created: 25/Dec/18  Updated: 09/Jan/24

Status: Confirmed
Project: yangtools
Component/s: parser
Affects Version/s: None
Fix Version/s: 14.0.0

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


 Description   

Current interface requires creation of a QName even in the case of a hot path lookup of an unprefixed statement.

The situation could be improved if we provided a pure localName-based lookup, which would be catered by the implementation.While this requires keeping another map, it has the benefit of short-circuiting the need for performing localName validation as well as allocation of a short-lived object.


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