[OPNFLWPLUG-1067] Optimize IpConversionUtil Created: 07/Mar/19  Updated: 11/Apr/19  Resolved: 11/Apr/19

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

Type: Improvement Priority: Medium
Reporter: Robert Varga Assignee: Robert Varga
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

IPConversionUtil provides utility methods for various tasks involved in transforming modeled objects between representations (OFJ, OFP, binary) and to extract information from them.

These are hot paths, as they are involved in essentially every path which talks to a switch or to an application, and their performance is critical to overall solution performance.

While the utilities are in an acceptable shape, there are various improvements that can be made like:

  • elimination of duplicate and dead code
  • reduction of memory allocation
  • invariant propagation
  • constant objects for low-cardinality uses

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