[OPNFLWPLUG-809] Optimize port number lookups Created: 27/Oct/16  Updated: 27/Sep/21  Resolved: 03/Nov/16

Status: Resolved
Project: OpenFlowPlugin
Component/s: General
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Tomas Slusny Assignee: Jozef Bacigal
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 7046

 Description   

Every call to OpenflowPortsUtil#getPortLogicalName and OpenflowPortsUtil#isPortReserved is calling ImmutableBiMap#inverse method, what inverses keys and values of BiMap, what is very costly operation. Cache inversed version of these BiMaps, to improve performance of port number lookups.



 Comments   
Comment by Tomas Slusny [ 27/Oct/16 ]

Gerrit: https://git.opendaylight.org/gerrit/#/c/47657/

Generated at Wed Feb 07 20:33:26 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.