Optimize IdentifiableItemCodec 73/78073/8
authorRobert Varga <robert.varga@pantheon.tech>
Fri, 23 Nov 2018 00:30:08 +0000 (01:30 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Sun, 25 Nov 2018 22:11:12 +0000 (23:11 +0100)
commitf6557f4f6831805301ea4690596310fcc03247c3
treeac485cc7f89f93d40706407d6f457567a5026a99
parent76afd0a109e9196d64ffde4c6980085779e984eb
Optimize IdentifiableItemCodec

ImmutableMapTemplate allows us to instantiate space-efficient
ImmutableOffsetMaps very quickly, because we know exactly what
keySet() we are going to use, including our preferred ordering.

Use this class to instantiate keyValueContexts and also create
NodeIdentifierWithPredicates.

JIRA: YANGTOOLS-917
Change-Id: I087083fe4e1914bb5d8e58b9e378ebda9e070793
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
binding/mdsal-binding-dom-codec/src/main/java/org/opendaylight/mdsal/binding/dom/codec/impl/IdentifiableItemCodec.java