apsis-rs/crates/network
ApsisRS contributors 0232790b4e topology: index the outgoing edges
Asking whether an edge already exists scanned the whole edge list, so
building a graph of E edges cost O(E^2). A visibility sweep adds a quadratic
number of edges, so the whole construction was cubic: 600 satellites took
twelve seconds. An index of outgoing edge positions makes the membership
test constant time, and the same index answers neighbours and out-degree
without a scan. Removal rebuilds the index in one pass, since it renumbers
every later position. Six hundred satellites now take 130 ms, a factor of
ninety five.
2026-09-30 18:29:18 +08:00
..
apsis-access workspace: remove dependencies that are declared but never used 2026-09-26 23:36:38 +08:00
apsis-constellation workspace: remove dependencies that are declared but never used 2026-09-26 23:36:38 +08:00
apsis-coverage workspace: remove dependencies that are declared but never used 2026-09-26 23:36:38 +08:00
apsis-handover workspace: remove dependencies that are declared but never used 2026-09-26 23:36:38 +08:00
apsis-isl workspace: remove dependencies that are declared but never used 2026-09-26 23:36:38 +08:00
apsis-mesh workspace: remove dependencies that are declared but never used 2026-09-26 23:36:38 +08:00
apsis-routing docs: fix the broken intra doc links and check them in CI 2026-09-26 23:37:48 +08:00
apsis-topology topology: index the outgoing edges 2026-09-30 18:29:18 +08:00