Do not instantiate key in fast path 04/7604/1
authorRobert Varga <rovarga@cisco.com>
Mon, 2 Jun 2014 16:52:09 +0000 (18:52 +0200)
committerRobert Varga <rovarga@cisco.com>
Mon, 2 Jun 2014 16:54:25 +0000 (18:54 +0200)
commit0905a79a67f14b5dc1fc302c666ad0b468256c63
tree6fef686f9f870cf80f10cbad9fc5159be26a2938
parent6b0b81817d09cb4b42d6c65838dc07cce276e9b4
Do not instantiate key in fast path

This is a constant lookup for each packet -- let's just use a static
key to prevent useless allocations.

Change-Id: I4a81fc04e29607ace710c7a35671420271836066
Signed-off-by: Robert Varga <rovarga@cisco.com>
openflow-protocol-impl/src/main/java/org/opendaylight/openflowjava/protocol/impl/deserialization/factories/PacketInMessageFactory.java