Skip to content

DMNetwork: Optimize dataheader

Shrirang Abhyankar requested to merge dmnetwork/optimize-dataheader into main

Based on comments by @BarrySmith, the following changes have been made in this MR.

  1. Increase the size of component array by a factor of 2 instead of adding 2.
  2. Replace the 5 arrays used for storing component metadata by an array of structs. This reduces the number of memcpys from 5 down to 1.

Merge request reports