Performance improvements, better readme and complete python bindings
🧪 Test / test (push) Failing after 28m30s

This commit is contained in:
2026-05-12 21:23:33 +02:00
parent c39db82763
commit f6bcaa15b0
38 changed files with 4679 additions and 846 deletions
+2
View File
@@ -45,6 +45,7 @@ int main() {
Network net;
// [snippet: diagnostics_handler]
// Custom diagnostics handler — fires on the watchdog interval.
// Print a concise one-liner rather than the full table.
net.set_diagnostics_handler([](const std::vector<NodeSnapshot>& nodes,
@@ -57,6 +58,7 @@ int main() {
<< "overflows=" << c.overflows;
std::cout << '\n';
});
// [/snippet: diagnostics_handler]
net.set_watchdog_interval(std::chrono::milliseconds(200));