From 75a8ba37c8a58f4e74987ae8b705d5557585b4b1 Mon Sep 17 00:00:00 2001 From: hasslesstech Date: Sun, 25 Oct 2026 21:17:32 +0200 Subject: [PATCH] yet another performance improvement --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index 7c54113..f42c8db 100644 --- a/main.py +++ b/main.py @@ -135,8 +135,8 @@ def build_network(n): join_nodes(g, nn(i, 'ls'), nn(neigh(i, -l_lvl * 5), 'rs')) # irregular: inline ring - join_nodes(g, nn(i, 'rs'), nn(neigh(i, +1), 'ls'), 5) - join_nodes(g, nn(i, 'ls'), nn(neigh(i, -1), 'rs'), 5) + join_nodes(g, nn(i, 'rs'), nn(neigh(i, +1), 'ls')) + join_nodes(g, nn(i, 'ls'), nn(neigh(i, -1), 'rs')) #if l_lvl >= 4: #join_nodes(g, nn(i, 'rs'), nn(neigh(i, +12), 'ls'), 6)