Improve BindingDOMRpcImplementationAdapter performance 18/21318/4
authorRobert Varga <rovarga@cisco.com>
Thu, 28 May 2015 11:20:30 +0000 (13:20 +0200)
committerGerrit Code Review <gerrit@opendaylight.org>
Thu, 28 May 2015 17:15:57 +0000 (17:15 +0000)
BindingReflections return a non-shared QNameModule instance, which means
that we may end up using suboptimal lookups when comparing QNames.
Furthermore it is not the QNameModule which we need in the fastpath, but
rather QName of the input statement, hence create a cached reference of
that -- leading to minimal object allocation in the fast path.

Change-Id: I97ceb43d80c50d53d21cc66a31bfaae6ff0193e9
Signed-off-by: Robert Varga <rovarga@cisco.com>

No differences found