Make ospf route more effiencient (#1512)

Avoid iterate all peer info and conn list when building sync request.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
KKRainbow
2025-12-08 13:14:47 +08:00
committed by GitHub
parent 056c9da781
commit 838b6101b9
5 changed files with 444 additions and 233 deletions
Generated
+10
View File
@@ -2136,6 +2136,7 @@ dependencies = [
"nix 0.29.0",
"once_cell",
"openssl",
"ordered_hash_map",
"parking_lot",
"percent-encoding",
"petgraph 0.8.1",
@@ -5498,6 +5499,15 @@ dependencies = [
"pin-project-lite",
]
[[package]]
name = "ordered_hash_map"
version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a6c699f8a30f345785be969deed7eee4c73a5de58c7faf61d6a3251ef798ff61"
dependencies = [
"hashbrown 0.15.3",
]
[[package]]
name = "os_info"
version = "3.8.2"