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

Data tree: partial indexing

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved
    • Resolution: Done
    • None
    • None
    • None
    • None
    • Operating System: All
      Platform: All

    Description

      When writing into the data tree, we eagerly create TreeNodes for the entire subtree. This is not necessary until there is a write touching the insides of the subtree.

      Implement partial indexing, where we do create TreeNodes only when we need them for writes. In read perspective, we do not need to create TreeNodes at all, as the top of the subtree is sufficient to represent its children from dependency tracking.

      Attachments

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

        Activity

          People

            lsedlak@cisco.com Lukas Sedlak
            rovarga Robert Varga
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: