BUG-7464: Do not recalculate hash on LNode removal 20/49920/8
authorRobert Varga <rovarga@cisco.com>
Mon, 2 Jan 2017 00:20:44 +0000 (01:20 +0100)
committerRobert Varga <rovarga@cisco.com>
Tue, 10 Jan 2017 19:12:11 +0000 (20:12 +0100)
commite555a0dd619a4b1ba460892cb20a708f399ea349
treedde0b9ccf469158e0e965200b30db068e3953439
parent1310d9a001b91095ef550f1dafef84d8502cc4ad
BUG-7464: Do not recalculate hash on LNode removal

As it turns out all call sites performing a removal operation
actually have a hashcode handy, hence we do not need to
calculate it.

This really makes sense: in order to remove a node, we need to
find it first -- and for that we have to have the key's hash
code.

Change-Id: I4a26b5b4c07da4b38d90492884fa882362a171f1
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
third-party/triemap/src/main/java/org/opendaylight/yangtools/triemap/INode.java
third-party/triemap/src/main/java/org/opendaylight/yangtools/triemap/LNode.java