Optimize MandatoryLeafEnforcer footprint 62/106062/6
authorRobert Varga <robert.varga@pantheon.tech>
Thu, 18 May 2023 22:28:55 +0000 (00:28 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Sat, 20 May 2023 10:23:03 +0000 (12:23 +0200)
commitc1fbabf3a7a882e01224d10c01567853e2d685aa
tree462dd7e1229ab8d94de858860803bf9c371b7d86
parentb97e568159de1d0cb724d8b2a4e7827a45afad40
Optimize MandatoryLeafEnforcer footprint

Instead of using internal YangInstanceIdentifiers, which have overhead,
keep simple ImmutableList<PathArgument> -- and wire to a more direct
alternative of findNode().

Change-Id: Icfdf5424a1478db0b45515f43df8406ae7527c3d
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
data/yang-data-tree-ri/src/main/java/org/opendaylight/yangtools/yang/data/tree/impl/MandatoryLeafEnforcer.java