Uploaded image for project: 'yangtools'
  1. yangtools
  2. YANGTOOLS-784 Defer statement initialization in InferredStatementContext
  3. YANGTOOLS-1156

InferredStatementContext.isConfiguration() forces substatement materialization

    XMLWordPrintable

Details

    • Sub-task
    • Status: Resolved
    • Medium
    • Resolution: Done
    • None
    • 6.0.1, 5.0.8
    • parser
    • None

    Description

      We currently use generic method of discovery for isConfiguration(), which means searching all effective statements. This forces materialization of those substatements, which we do not need.

      If substatements have been materialized, we should fall back to searching them, but if they were not, we should check parent and and prototype – and make sense of that directly.

      This may require a bit of work as we are dealing with completely different assumptions than current utilities handle.

      Attachments

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

        Activity

          People

            miro.kovac Miroslav Kovac
            rovarga Robert Varga
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: