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

Index SchemaNode substatements lazily

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved
    • Medium
    • Resolution: Done
    • None
    • 4.0.3
    • parser
    • None

    Description

      There is a slight impedance between SchemaNode and EffectiveStatement interfaces, where SchemaNode provides a view of a certain class of substatements – for example UnknownSchemaNode, NotificationDefinition, etc.

      Since our statement implementations have all statements and we do not always use these views, we can make these derived collections lazily-computed with the use of VarHandles (to eliminate volatile reads).

      Attachments

        Issue Links

          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: