Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NeighborListCache: don't build neighbor list during initialization #983

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Jun 26, 2024

  1. NeighborListCache: don't build neighbor list during initialization

    Given n radios, neighbor list construction has O(n^2) complexity.
    If, during initialization, when each radio is added, the neighbor list
    is reconstructed, we end up having a simulation initialization with
    O(n^3) complexity.
    Sidenote: In one of our tests, without this patch, when running a WiFi
    simulation of 5000 nodes, it took ~40 minutes to just initialize the
    simulation.
    chenlijun99 committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    8b11e6d View commit details
    Browse the repository at this point in the history