Improve deltaChildren() 49/21849/2
authorRobert Varga <rovarga@cisco.com>
Thu, 4 Jun 2015 00:48:40 +0000 (02:48 +0200)
committerGerrit Code Review <gerrit@opendaylight.org>
Thu, 4 Jun 2015 10:50:43 +0000 (10:50 +0000)
commit32f3ca2fb7ab6cdf6e8df5cf83ba3d16f21ffb01
tree933f57ae0ba61dfd4c325f75b3acdbe75f9d13a9
parent47e801b7f26d9e8ce68738bdfd0d1b6e6c83ae0c
Improve deltaChildren()

Instead of instantiating and mutating an index map, we perform a full
search in both old and new data, building the result as we go.

Change-Id: I4aae9cdbf18080a63da3416728b3b5dbb8e312ab
Signed-off-by: Robert Varga <rovarga@cisco.com>
yang/yang-data-impl/src/main/java/org/opendaylight/yangtools/yang/data/impl/schema/tree/AbstractDataTreeCandidateNode.java