Serhii Matsyshyn
d11d392152
policy/v2: index matchers per node in BuildPeerMap
...
BuildPeerMap checked every pair of nodes against every matcher. With many nodes and many rules this takes seconds, and it runs on every policy write and node registration.
Now each node's source and destination matchers are found once, and two nodes are peers when those sets share a matcher. The peer map is the same as before. A test compares the new code with the old loop on random networks.
Part of #3549
2026-10-20 11:55:11 +02:00
..
2026-10-18 20:53:18 +02:00
2026-04-13 17:23:47 +01:00
2026-10-15 10:50:32 +02:00
2026-09-26 00:33:12 +02:00
2026-10-07 11:10:38 +02:00
2026-10-18 20:53:18 +02:00
2026-10-18 20:53:18 +02:00
2026-10-20 11:55:11 +02:00
2026-09-25 21:24:37 +02:00
2026-10-18 20:53:18 +02:00
2026-10-18 20:53:18 +02:00
2026-08-29 18:18:35 +02:00
2026-06-19 15:21:00 +02:00
2026-10-18 20:53:18 +02:00
2026-10-18 20:53:18 +02:00
2026-06-19 15:21:00 +02:00
2026-06-19 15:21:00 +02:00
2026-06-19 15:21:00 +02:00
2026-06-19 15:21:00 +02:00
2026-06-19 15:21:00 +02:00
2026-06-19 15:21:00 +02:00
2026-06-19 15:21:00 +02:00
2026-06-19 15:21:00 +02:00
2026-06-19 15:21:00 +02:00
2026-06-19 15:21:00 +02:00
2026-06-19 15:21:00 +02:00
2026-10-15 13:28:12 +02:00
2026-06-21 04:17:03 +02:00
2026-06-26 09:18:06 +02:00
2026-06-26 09:18:06 +02:00
2026-06-26 09:18:06 +02:00
2026-10-18 20:53:18 +02:00
2026-06-24 18:41:06 +02:00
2026-10-18 20:53:18 +02:00
2026-10-18 20:53:18 +02:00
2026-10-18 20:53:18 +02:00
2026-07-28 11:55:17 +02:00
2026-10-09 11:44:37 +02:00
2026-09-30 19:03:13 +02:00
2026-06-17 16:12:19 +02:00
2026-10-07 22:55:03 +02:00
2026-10-07 22:55:03 +02:00
2026-05-19 09:55:22 +02:00
2026-10-18 20:53:18 +02:00
2026-10-18 20:53:18 +02:00
2026-05-19 09:55:22 +02:00
2026-06-08 10:04:49 +02:00
2026-04-13 17:23:47 +01:00
2026-09-09 19:01:43 +02:00
2026-09-30 17:21:02 +02:00
2026-06-05 15:00:59 +02:00
2026-08-25 21:59:00 +02:00
2026-10-08 12:14:58 +02:00
2026-09-30 17:21:02 +02:00
2026-05-18 17:17:55 +02:00
2026-06-17 16:12:19 +02:00
2026-06-17 16:12:19 +02:00
2026-04-18 09:33:41 +02:00