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

ImmutableNodes.fromInstanceId() is inefficient

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved
    • Medium
    • Resolution: Done
    • None
    • 2.1.0, 2.0.11, 2.0.6.2
    • None
    • None

    Description

      ImmutableNodes.fromInstanceId() is used quite heavily and is rather inefficient:

      • there are multiple isMixin() implementations which could be moved to common superclass
      • traversal creates unnecessary YangInstanceIdentifier instances, leading to Iterables.skip()
      • AnyXmlNormalization has duplicate code blocks

       

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: