Uploaded image for project: 'yangtools'
  1. yangtools
  2. YANGTOOLS-925

QNameToStatementDefinition.get() without a QName

    XMLWordPrintable

Details

    • Improvement
    • Status: Confirmed
    • Medium
    • Resolution: Unresolved
    • None
    • 14.0.0
    • parser

    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.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            rovarga Robert Varga
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: