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

SchemaPath identification of SchemaNodes is costly and useless

XMLWordPrintable

    • Icon: Epic Epic
    • Resolution: Done
    • Icon: Medium Medium
    • 8.0.0
    • None
    • parser
    • None
    • Get rid of SchemaNode.getPath()

      Based on heap dump analysis of YANGTOOLS-652, SchemaPath instances are taking up 11% (13% with partial YANGTOOLS-1065) of retained heap size.

      The problem is that SchemaPath is used in quite a few places to provide type inference and we do not have a replacement mechanism.

      Hence we first need to add that mechanism, then deprecate/migrate SchemaPath usage and finally kill the ill notion of a SchemaPath.

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

              Created:
              Updated:
              Resolved: