Uploaded image for project: 'mdsal'
  1. mdsal
  2. MDSAL-407

Teach BindingNormalizedNodeCache to cache leaf type objects

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Medium Medium
    • 4.0.1
    • None
    • Binding runtime
    • None

      While we can cache entire DataObjects to their NormalizedNode counterparts, we do not have the ability to perform caching of constituent leaf nodes.

      This comes from the fact that generated wrappers are not tagged with an interface, which is being addressed by MDSAL-406.

      Once we have a tag, we should allow users to specify which generated wrappers are candidates for caching, so that we end up reusing LeafNodes where possible.

      Note that this requires a form of hierarchy, as the type definition may be a typedef used in a leaf – in which case we must make sure that we preserve correct namespaces.

      Leaf-lists are not necessarily in scope of this issue, although it would be nice if we could cache individual leaf-list items.

            han.jie@zte.com.cn Jie Han
            rovarga Robert Varga
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: