Skip to content
  • Thomas Haller's avatar
    platform: add index for links by ifname · ad1d74d1
    Thomas Haller authored
    Downsides:
    
      - Add some additional overhead to manage the index
    
      - The NMPCacheId struct grows to 16 bytes, affecting
        hashing performance for all object types.
    
    Still do it, based on the assumption that it doesn't matter
    for a low number of interfaces. But the O(1) access time matters
    when having lots of interfaces.
    ad1d74d1